Problem with imagemap variables

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 67532
interpreted = N
texte = Hello All, =20 I have an imagemap include file within a search form which on submitting = (onclick=3D"document.forms['full_form'].submit();") does not pass all = the variables set at the beginning of the form. =20 The variables on the imagemap are dynamically generated according to = which area the user clicks as below. =20 [text]mapstringstem=3D[thisURL]?x=3D1[if ("[name]"=3D"template") | = ("[name]"=3D"southwest") | ("[name]"=3D"northwest") | = ("[name]"=3D"north") | ("[name]"=3D"south") | ("[name]"=3D"southeast") | = ("[name]"=3D"northeast") | ("[name]"=3D"center") | ("[name]"=3D"palma") = | ("[name]"=3D"__LOCOdata") | ("[name]"=3D"__eqCODIGOdata") | = ("[value]"=3D"")][then][/then][else]&[name]=3D[url][value][/url][/else][/= if][/text] =20 [text]mapstring=3D[mapstringstem]&__LOCOdata=3D&__eqCODIGOdata=3D&[showif= [southwest]=3Dinclude]southwest=3Dinclude&[/showif][showif = [northwest]=3Dinclude]northwest=3Dinclude&[/showif][showif = [north]=3Dinclude]north=3Dinclude&[/showif][showif = [south]=3Dinclude]south=3Dinclude&[/showif][showif = [southeast]=3Dinclude]southeast=3Dinclude&[/showif][showif = [northeast]=3Dinclude]northeast=3Dinclude&[/showif][showif = [center]=3Dinclude]center=3Dinclude&[/showif][showif = [palma]=3Dinclude]palma=3Dinclude&[/showif][/text] =20 The map successfully selects the right areas but does not pass all the = variables and hence shows no search results unless sumbitted via a = checkbox which does action all the variables. =20 I don=B4t know how I can either set the fixed variables in the imagemap = - or get the form to pass ALL of the variables on submit ..... =20 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Problem with imagemap variables ( Stuart Tremain 2006)
  2. Re: Problem with imagemap variables ( Donovan Brooke 2006)
  3. Problem with imagemap variables ( "Michelle Taffe" 2006)
Hello All, =20 I have an imagemap include file within a search form which on submitting = (onclick=3D"document.forms['full_form'].submit();") does not pass all = the variables set at the beginning of the form. =20 The variables on the imagemap are dynamically generated according to = which area the user clicks as below. =20 [text]mapstringstem=3D[thisurl]?x=3D1[if ("[name]"=3D"template") | = ("[name]"=3D"southwest") | ("[name]"=3D"northwest") | = ("[name]"=3D"north") | ("[name]"=3D"south") | ("[name]"=3D"southeast") | = ("[name]"=3D"northeast") | ("[name]"=3D"center") | ("[name]"=3D"palma") = | ("[name]"=3D"__LOCOdata") | ("[name]"=3D"__eqCODIGOdata") | = ("[value]"=3D"")][then][/then][else]&[name]=3D[url][value][/url][/else][/= if][/text] =20 [text]mapstring=3D[mapstringstem]&__LOCOdata=3D&__eqCODIGOdata=3D&[showif= [southwest]=3Dinclude]southwest=3Dinclude&[/showif][showif = [northwest]=3Dinclude]northwest=3Dinclude&[/showif][showif = [north]=3Dinclude]north=3Dinclude&[/showif][showif = [south]=3Dinclude]south=3Dinclude&[/showif][showif = [southeast]=3Dinclude]southeast=3Dinclude&[/showif][showif = [northeast]=3Dinclude]northeast=3Dinclude&[/showif][showif = [center]=3Dinclude]center=3Dinclude&[/showif][showif = [palma]=3Dinclude]palma=3Dinclude&[/showif][/text] =20 The map successfully selects the right areas but does not pass all the = variables and hence shows no search results unless sumbitted via a = checkbox which does action all the variables. =20 I don=B4t know how I can either set the fixed variables in the imagemap = - or get the form to pass ALL of the variables on submit ..... =20 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 Web Archive of this list is at: http://webdna.smithmicro.com/ "Michelle Taffe"

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:

WCS Newbie question (1997) PCS Frames (1997) SKU (1997) HTML Editors (1997) [WebDNA] How to code a 301 redirect (2008) Date problems-more (1997) backup dbs (2005) Link with [cart] in db field (1999) Close Databases Crash? (1998) Setting up WebCatalog with Retail Pro data (1996) [WebDNA] Why doesn't this returnraw redirect to the new page? (2009) AppleScript in WebDNA (2003) select menus & database design (1998) WebCat Beta NT 18 (1997) zzounds.com. Was: ANN: Strategic Partnership with (2000) Creating main- and sub-category search (1997) best way to get 2 unique strings on the same page load? (2000) PCS Frames-Default page is solution! (1997) WebTen? (1997) Add a field to the error log? (1997)