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, =20 make sure that you URL the variables on the form before submitting. Stuart Tremain idfk web developments, sydney, australia On 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:

    
  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)
It may be that some of your passed variables are breaking the flow, =20 make sure that you URL the variables on the form before submitting. Stuart Tremain idfk web developments, sydney, australia On 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:

Webstar 1.3.1 PPC (1997) [LOOKUP] (1997) Hiding a subsection of text (2002) help testing quicktime delivery (1997) [taxRate] [TaxTotal] ? (1997) Search Order? (2000) Problems getting parameters passed into email. (1997) database freeze (1997) Date Formats (1997) Paymethod question (1999) [WebDNA] I got v7 running on 64-bit Ubuntu 11.04 ... (2012) Summary search -- speed (1997) [WebDNA] php/mySQL version of WebDNA Speed Test? (2009) Windows Serial (2005) Unique SKU Numbers (2000) taxrate - off by 1 cent (1997) emailer setup (1997) Clean Code: Rules for inserting keyboard returns? (1997) WebCat2b12plugin - [search] is broken ... not! (1997) Execute Applescript (1997)