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:

[WebDNA] sem_open solved (2012) Summing fields (1997) Just a test - please ignore (1999) NT b19 sends extra MIME headers (1997) problems with WebCat-Plugin () hidden databases (2000) page redirect in webDNA (1997) Frames and WebCat (1997) W* 3.x & WebCat + WebMerchant (1998) WebCat2.0 acgi vs plugin (1997) WebCommerce: Folder organization ? (1997) [WebDNA] Need to convert unix date? (2009) Can this be done? (2004) Reversed words (1997) Nested search (1997) Details of shipping - Totalqty calculations (1997) carriage returns in data (1997) accountnum using [listwords] (2001) foreign languages, email, webcat (1998) Follow-Up to: Removing [showif] makes a big difference in speed (1997)