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 MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Associated Messages, from the most recent to the oldest:
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 MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.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:
MySQL and Decimals (2004)
more on quicktime test stuff (1997)
Savant and WebDNA on Windows 98? (2002)
Searchable Archive: Sender? (1998)
5.0 Pricing (2003)
WebCat .pdf file is still messed up... (2000)
One more time (1997)
Grouping fields problem (1998)
Customer login feature (2004)
WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997)
UPS Online tool (2007)
Error, 101 a DNS problem ? (1997)
WebCatalog2 Feature Feedback (1996)
Re1000001: Setting up shop (1997)
WebCatalog2 Feature Feedback (1996)
Searching Multiple DBs (1997)
Page Counters? (1997)
WebCat2.0 acgi vs plugin (1997)
Problem searching bw & ne of a word (1999)
Help name our technology! (1997)