I want to use the coordinates of an image map but not the map itself. So my question is can I use the coordinates of an image map and detect if a user has scrolled over those coordinates using jquery?
EDIT:
I'm aiming for something like this: (not actually using an image map, just it's coords.)
Coords from the image map: 186,106,199,86,220,86,241,94,245,109
$("img#test").hover(function(e) {
if (e.pageX >= 186 && e.pageY >= 106 &&
e.pageX >= 199 && e.pageY >= 86 &&
e.pageX >= 220 && e.pageY >= 86 &&
e.pageX >= 241 && e.pageY >= 94 &&
e.pageX >= 245 && e.pageY >= 109)
alert("wewt");
});