Re: Any function that gives the coordinates of the cursor?
| From: | Hugh Danaher | Date: | Fri, 28 Feb 2003 17:25:12 +0000 |
| Subject: | Re: Any function that gives the coordinates of the cursor? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137590@lists.php.net to get a copy of this message | ||
A basic html input command using an image will enable you to send the
coordinates of the mouse to the next script.
<input type=image src=image.jpg name=coordinate>
your x,y variables will become $coordinate_x,$coordinate_y
----- Original Message -----
From: "Minghua Yao" <myao@ou.edu>
To: <php-general@lists.php.net>
Sent: Friday, February 28, 2003 8:59 AM
Subject: [PHP] Any function that gives the coordinates of the cursor?
> Hi, all,
>
> Are there any functions in PHP which can give us the coordinates of the
cursor when we click the mouse?
> Thanks for the replys.
>
> Minghua
>