I need to position a div on an img using a usemap.
Only when the mouse hovers over a specific area, the div would appear - exactly at that mouse position.
I have found a few examples with jquery the sorts of
jQuery(document).ready(function(){
$("#mydiv").mouseover(function(e){
$('#showDiv').html(e.pageX +', '+ e.pageY);
});
})
but this calls my div always; I'd like to show it only when it hovers over specific area elements. (Hope I was clear?).Thanks