Page 1 of 1

Images

Posted: Mon Mar 15, 2004 7:27 am
by alanmahony
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.

Re: Images

Posted: Mon Mar 15, 2004 8:26 am
by TheBentinel.com
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.
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.