Re: Problem with imagemap variables
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 67538
interpreted = N
texte = It may be that some of your passed variables are breaking the flow, =20make sure that you URL the variables on the form before submitting.Stuart Tremainidfk web developments, sydney, australiaOn 20 Jun 2006, at 9:36 PM, Michelle Taffe wrote:> Hello All,>> I have an imagemap include file within a search form which on =20> submitting (onclick=3D"document.forms['full_form'].submit();") does =20=> not pass all the variables set at the beginning of the form.>> The variables on the imagemap are dynamically generated according =20> to which area the user clicks as below.>> [text]mapstringstem=3D[thisURL]?x=3D1[if ("[name]"=3D"template") | =20> ("[name]"=3D"southwest") | ("[name]"=3D"northwest") | =20> ("[name]"=3D"north") | ("[name]"=3D"south") | ("[name]"=3D"southeast") =| =20> ("[name]"=3D"northeast") | ("[name]"=3D"center") | ("[name]"=3D"palma") = =20> | ("[name]"=3D"__LOCOdata") | ("[name]"=3D"__eqCODIGOdata") | =20> ("[value]"=3D"")][then][/then][else]&[name]=3D[url][value][/url][/else]=20=> [/if][/text]>> [text]mapstring=3D[mapstringstem]&__LOCOdata=3D&__eqCODIGOdata=3D&[showi=f =20> [southwest]=3Dinclude]southwest=3Dinclude&[/showif][showif [northwest]=20=> =3Dinclude]northwest=3Dinclude&[/showif][showif [north]=3Dinclude]=20> north=3Dinclude&[/showif][showif [south]=3Dinclude]south=3Dinclude&[/=20=> showif][showif [southeast]=3Dinclude]southeast=3Dinclude&[/showif]=20> [showif [northeast]=3Dinclude]northeast=3Dinclude&[/showif][showif =20> [center]=3Dinclude]center=3Dinclude&[/showif][showif [palma]=3Dinclude]=20=> palma=3Dinclude&[/showif][/text]>> The map successfully selects the right areas but does not pass all =20> the variables and hence shows no search results unless sumbitted =20> via a checkbox which does action all the variables.>> I don=B4t know how I can either set the fixed variables in the =20> imagemap - or get the form to pass ALL of the variables on =20> submit .....>> This is possibly a bit complicated to explain here but anyway... ! :)>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com>> Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
It may be that some of your passed variables are breaking the flow, =20make sure that you URL the variables on the form before submitting.Stuart Tremainidfk web developments, sydney, australiaOn 20 Jun 2006, at 9:36 PM, Michelle Taffe wrote:> Hello All,>> I have an imagemap include file within a search form which on =20> submitting (onclick=3D"document.forms['full_form'].submit();") does =20=> not pass all the variables set at the beginning of the form.>> The variables on the imagemap are dynamically generated according =20> to which area the user clicks as below.>> [text]mapstringstem=3D[thisurl]?x=3D1[if ("[name]"=3D"template") | =20> ("[name]"=3D"southwest") | ("[name]"=3D"northwest") | =20> ("[name]"=3D"north") | ("[name]"=3D"south") | ("[name]"=3D"southeast") =| =20> ("[name]"=3D"northeast") | ("[name]"=3D"center") | ("[name]"=3D"palma") = =20> | ("[name]"=3D"__LOCOdata") | ("[name]"=3D"__eqCODIGOdata") | =20> ("[value]"=3D"")][then][/then][else]&[name]=3D[url][value][/url][/else]=20=> [/if][/text]>> [text]mapstring=3D[mapstringstem]&__LOCOdata=3D&__eqCODIGOdata=3D&[showi=f =20> [southwest]=3Dinclude]southwest=3Dinclude&[/showif][showif [northwest]=20=> =3Dinclude]northwest=3Dinclude&[/showif][showif [north]=3Dinclude]=20> north=3Dinclude&[/showif][showif [south]=3Dinclude]south=3Dinclude&[/=20=> showif][showif [southeast]=3Dinclude]southeast=3Dinclude&[/showif]=20> [showif [northeast]=3Dinclude]northeast=3Dinclude&[/showif][showif =20> [center]=3Dinclude]center=3Dinclude&[/showif][showif [palma]=3Dinclude]=20=> palma=3Dinclude&[/showif][/text]>> The map successfully selects the right areas but does not pass all =20> the variables and hence shows no search results unless sumbitted =20> via a checkbox which does action all the variables.>> I don=B4t know how I can either set the fixed variables in the =20> imagemap - or get the form to pass ALL of the variables on =20> submit .....>> This is possibly a bit complicated to explain here but anyway... ! :)>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com>> Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Stuart Tremain
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[convertChars] and HTML Tags (1997)
Re:Emailer and encryption (1997)
Bug Report, maybe (1997)
WCS Newbie question (1997)
Cart/ Form Use (1998)
emailer (1997)
simple forum/bboard (2004)
encrypt/decrypt failing (2000)
Fed Ex Interaction (2003)
BUG ? Running on Empty (1999)
[WebDNA] Combining searches (2016)
2cd pair.. [math] and European Date format (2004)
[WriteFile] problems (1997)
How to add product size choices to form? (1997)
Multiple Passwords (1997)
WebCat2: Items xx to xx shown, etc. (1997)
Problem (1997)
HEADER AND FOOTER (1997)
Search results templates (1996)
Help formatting search results w/ table (1997)