[thelist] Which image did they click??

CDitty mail at redhotsweeps.com
Sat Apr 8 18:13:31 2000


Thanks, but I am afraid that this is over my head.  I am using php if that 
helps any.

Chris

At 12:38 PM 4/8/00 , you wrote:

>give your buttons names, for example:
>
>         <INPUT type="image" src="../images/buttons/next.gif" alt="Next Page"
>name="btn.next" tabindex="70" border="0" width="77" height="56" accesskey="n">
>
>now, change your form method to 'get'...
>
>press your 'next' button and watch the address bar... notice this in the 
>URL (probably at the
>end):
>
>         &btn.next.x=27&btn.next.y=13
>
>the x and y should be different for you... that returns the x and y 
>coordinates for where you
>pressed the button...
>
>if another button was named 'btn.back', then you might see:
>
>         &btn.back.x=27&btn.back.y=13
>
>your script should check to see if [button-name].x has a value... or 
>[button-name].y, depending
>on your mood... the one that has an x or y value is the one that got 
>clicked... test that to make
>sure you got it right...
>
> > -----Original Message-----
> > From: CDitty
> >
> > I have a set of 4 images that I am using as submit buttons on the same
> > screen.  The user makes their choices and then selects 1 of 4 images.  How
> > can I tell which image the user selected and pass that info onto the next
> > page?  These images are being dynamically generated.
> >
> > Thought about using value="1"(whatever) but since this is a submit image,
> > that doesn't seem to work.
>
>
>---------------------------------------
>For unsubscribe and other options, including
>the Tip Harvester and archive of TheList go to:
>http://lists.evolt.org Workers of the Web, evolt !