Re: Image maps in PHP
| From: | David Robley | Date: | Tue, 28 Nov 2000 05:08:10 +0000 |
| Subject: | Re: Image maps in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27551@lists.php.net to get a copy of this message | ||
On Tue, 28 Nov 2000, Peter Wade wrote:
> Can anyone point me to a PHP script that handles image maps?
>
> Thanks,
> Peter
Assuming you mean server-side image maps - I thought they were handled by
the server itself?
If you want to use an image as an INPUT type, you can get the x and y
coords of the mouseclick from the variables $name_x and $name_y where name
is the name you assigned to the INPUT tag, thus
<INPUT TYPE=IMAGE SOURCE=image.gif NAME=tagname>
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA