Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- mouse click
March 19, 2006, 9:05 pm
rate this thread
Re: mouse click
Yes, if you're talking about a server-side image map. If you have the
following on a page:
<input type="image" name="cmap" src="campus_map.jpg">
when the user clicks on a spot on the picture, the browser would sent
the variable pair cmap.x and cmap.y to the server. These two can be
retrieved in PHP from the $_GET array at the indices "cmap_x" and
Server-side image map is a somewhat outdated technique however. People
nowadays usually use client-side image maps instead.
- » Removing elements from an array -- key sequence ...
- — Previous thread in » PHP Scripting Forum