Hello! Help me to understand!
There is an image and its map area, on guidance on which the hint should appear.
For some reason, the hint does not work in Google Chrome and Safari - apparently, events do not work. Is there any way to get around this or emulate it? Or, maybe, who knows what jQuery plugin that works correctly in this situation?
$(function () { $('.allod').mouseover(function () { $('#hint').css("visibility", "visible").css("cursor", "pointer"); }).mouseout(function () { $('#hint').css("visibility", "hidden").css("cursor", "default"); }).mousemove(function (e) { h = $('#hint').height() * 3; w = $('#hint').width() + 15; $('#hint').css("left", (e.pageX + w)+"px").css("top", (e.pageY - h)+"px"); }); })