Images

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
alanmahony
Forum Newbie
Posts: 4
Joined: Tue Oct 28, 2003 8:30 am

Images

Post 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.
TheBentinel.com
Forum Contributor
Posts: 282
Joined: Wed Mar 10, 2004 1:52 pm
Location: Columbus, Ohio

Re: Images

Post 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.
Post Reply