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:
Uh...can someone help me out with the b10? (1997)
limitation found on group searching (1997)
GuestBook example (1997)
database with 10,000+ web pages stored in it? (2000)
RE: [WebDNA] smtp authentication (2008)
Sitebuilder / StoreBuilder - *related.db* (2008)
No one gets my client's code for free ... (2005)
[WebDNA] Mass email using WebDNA (2008)
Leap Day Triggers? -confirmation- (2000)
[WebDNA] [BULK] which of these tags exist in 7.0 (2011)
Speed/performance issues using .hdr (1997)
[WebDNA] Acceleratin Search / Index Performance in a Formum Service (2013)
WebCat and image maps (1997)
Interfacing WebMerchant to www.fedex.com (1997)
PDF template hell (2000)
Commas in search (1998)
[WebDNA] passing a variable in an include - precedence (2015)
Trigger alternatives please ... (2004)
Sku numbers (1997)
SiteGuard Admin Feature ? (1997)