Re: Surprise x and y post args

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18706
interpreted = N
texte = On 7/5/1998 4:22 pm, PCS Technical Support so noted...>Those extra x and y values the browsers sends come in very handy, >because now you can use WebDNA to decide where the user clicked the mouse >on the graphic. This lets you create a server-side image map which can >effectively let you put as many 'pseudo-buttons' inside a graphic as you >like.Since I far prefer using contexts over commands, the browser passing this information is extremely useful. As an example, the search results page at fivepercent.com has a main form that can contain over 100 submit buttons (most as graphics, all named with sequential numbers). By cycling though a couple loops at the beginning of the page, its a simple matter to determine what's been pressed...[loop start=1&end=7] [showif [interpret][header[index].x][/interpret]![raw][header[/raw][index][raw].x][ /raw]] ( magic happens here : )[/showif] [/loop] Rob Marquardt Designer/Resident Wirehead Toast Design300 First Avenue North, Suite 150 Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Surprise x and y post args (Rob Marquardt 1998)
  2. Re: Surprise x and y post args (PCS Technical Support 1998)
  3. Re: Surprise x and y post args (Kenneth Grome 1998)
  4. Re: Surprise x and y post args (Dave MacLeay 1998)
  5. Surprise x and y post args (Kenneth Grome 1998)
On 7/5/1998 4:22 pm, PCS Technical Support so noted...>Those extra x and y values the browsers sends come in very handy, >because now you can use WebDNA to decide where the user clicked the mouse >on the graphic. This lets you create a server-side image map which can >effectively let you put as many 'pseudo-buttons' inside a graphic as you >like.Since I far prefer using contexts over commands, the browser passing this information is extremely useful. As an example, the search results page at fivepercent.com has a main form that can contain over 100 submit buttons (most as graphics, all named with sequential numbers). By cycling though a couple loops at the beginning of the page, its a simple matter to determine what's been pressed...[loop start=1&end=7] [showif [interpret][header[index].x][/interpret]![raw][header[/raw][index][raw].x][ /raw]] ( magic happens here : )[/showif] [/loop] Rob Marquardt Designer/Resident Wirehead Toast Design300 First Avenue North, Suite 150 Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Rob Marquardt

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:

linetiems in thankyou.tpl (1997) Size issues (2001) WebCatalog for guestbook ? (1997) Help name our technology! (1997) BGcolor (1997) Sandbox Question (2003) Where is Orders.db appended? (2000) The Depths of Credit Card Payment (2003) zip codes (2003) Re[2]: Re[2]: New syntax feedback for 4.0 (2000) [WebDNA] WebDNA glitch, no response required ... (2009) PROTECT tag suggestion (2004) How To question on setting up downloads (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996) lookup problem (2000) Number date (2006) Banners and sort of random display (1997) emailer w/F2 (1997) Running _every_ page through WebCat ? (1997) Virtual hosting and webcatNT (1997)