Hi I am developing a web site that has a page with an image that will have a couple of red dots on the image. What I am stuck with is that when the visitor hovers over a particular red dot, I want to be able to get hold of the location in x,y coordinates of a dot so as to compare them to coordinates held on a database.
Thank You for any and all help.
Images
Moderator: General Moderators
-
TheBentinel.com
- Forum Contributor
- Posts: 282
- Joined: Wed Mar 10, 2004 1:52 pm
- Location: Columbus, Ohio
Re: Images
I think you want to look into the HTML thingy called image map. I'm not sure what the syntax is, but if you go look up "image map" in google, you'll find tons of stuff.alanmahony wrote:Hi I am developing a web site that has a page with an image that will have a couple of red dots on the image. What I am stuck with is that when the visitor hovers over a particular red dot, I want to be able to get hold of the location in x,y coordinates of a dot so as to compare them to coordinates held on a database.
Thank You for any and all help.