View Full Version : Coords

08-26-2004, 11:37 PM
Is it possible for JavaScript to get a coordainte from an image map when a mouse hovers over it?

08-26-2004, 11:41 PM
Check this out at cross-browser (http://www.cross-browser.com/toys/frame_event.html).

08-26-2004, 11:51 PM
I know how to get the X and Y coords of where hte mouse is. I want to know if I could get the coords of an image map that the mouse hovers on.

08-27-2004, 12:27 AM
Sorry. I misunderstood your question. I've never played with an image map, I wouldn't even know the html.

08-27-2004, 12:33 AM
the coordinates of an image map are the same as the coordinates of the page and there's a one to one correspondence between them. 10,10 is the same whether there's an image map there or not.

08-27-2004, 01:59 AM
Hmm.. Well I was going to need it so I can make a Navigation menu popup to the right of an image map instead of anywhere the mouse is hovered over the link.. Anyone know of a good popup navigaiton menu thats free?