Re: Problem with imagemap variables

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 67534
interpreted = N
texte = Michelle Taffe wrote: > Hello All, > > I have an imagemap include file within a search form which on submitting (onclick="document.forms['full_form'].submit();") does not pass all the variables set at the beginning of the form. > > The variables on the imagemap are dynamically generated according to which area the user clicks as below. > > [text]mapstringstem=[thisURL]?x=1[if ("[name]"="template") | ("[name]"="southwest") | ("[name]"="northwest") | ("[name]"="north") | ("[name]"="south") | ("[name]"="southeast") | ("[name]"="northeast") | ("[name]"="center") | ("[name]"="palma") | ("[name]"="__LOCOdata") | ("[name]"="__eqCODIGOdata") | ("[value]"="")][then][/then][else]&[name]=[url][value][/url][/else][/if][/text] > > [text]mapstring=[mapstringstem]&__LOCOdata=&__eqCODIGOdata=&[showif [southwest]=include]southwest=include&[/showif][showif [northwest]=include]northwest=include&[/showif][showif [north]=include]north=include&[/showif][showif [south]=include]south=include&[/showif][showif [southeast]=include]southeast=include&[/showif][showif [northeast]=include]northeast=include&[/showif][showif [center]=include]center=include&[/showif][showif [palma]=include]palma=include&[/showif][/text] > > 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. > > I donīt know how I can either set the fixed variables in the imagemap - or get the form to pass ALL of the variables on submit ..... > > This is possibly a bit complicated to explain here but anyway... ! :) Well, its just a bit general. Some good tests are: Put this at the top of your page: -- Formvariables:
[formvariables] [name]=[value]
[/formvariables] -- That will tell you which values are not being passed. then once you figure out why, the fix should be apparent. Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Custom Paint, Labels, and Specialty Signage. -> <- Home and Business Embellishment/Fabrication, -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 835-2476 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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)
Michelle Taffe wrote: > Hello All, > > I have an imagemap include file within a search form which on submitting (onclick="document.forms['full_form'].submit();") does not pass all the variables set at the beginning of the form. > > The variables on the imagemap are dynamically generated according to which area the user clicks as below. > > [text]mapstringstem=[thisurl]?x=1[if ("[name]"="template") | ("[name]"="southwest") | ("[name]"="northwest") | ("[name]"="north") | ("[name]"="south") | ("[name]"="southeast") | ("[name]"="northeast") | ("[name]"="center") | ("[name]"="palma") | ("[name]"="__LOCOdata") | ("[name]"="__eqCODIGOdata") | ("[value]"="")][then][/then][else]&[name]=[url][value][/url][/else][/if][/text] > > [text]mapstring=[mapstringstem]&__LOCOdata=&__eqCODIGOdata=&[showif [southwest]=include]southwest=include&[/showif][showif [northwest]=include]northwest=include&[/showif][showif [north]=include]north=include&[/showif][showif [south]=include]south=include&[/showif][showif [southeast]=include]southeast=include&[/showif][showif [northeast]=include]northeast=include&[/showif][showif [center]=include]center=include&[/showif][showif [palma]=include]palma=include&[/showif][/text] > > 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. > > I donīt know how I can either set the fixed variables in the imagemap - or get the form to pass ALL of the variables on submit ..... > > This is possibly a bit complicated to explain here but anyway... ! :) Well, its just a bit general. Some good tests are: Put this at the top of your page: -- Formvariables:
[formvariables] [name]=[value]
[/formvariables] -- That will tell you which values are not being passed. then once you figure out why, the fix should be apparent. Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Custom Paint, Labels, and Specialty Signage. -> <- Home and Business Embellishment/Fabrication, -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 835-2476 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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/ Donovan Brooke

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:

Spaces causing netscape to act weird . . . (2002) (2003) WebDNA Solutions ... sorry! (1997) 2.0 Info (1997) Need relative path explanation (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) Date Math bug (1998) Listfiles and nothing found (2001) Languages (1997) [WebDNA] Installation on windows 2008 server (2010) Creating a back button (1999) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) list items (1998) More questions about serial number dishing (1997) WC on Mac OS X or Mac OS X Server 2.x (2001) Not really WebCat - need HTML Grider (1997) WebCat for Site Search? (1997) Multiple fields on 1 input (1997) Proper file locations (1997) Multiple catalog databases and showcart (1997)