Delayed mouseover event with jQuery
$("#myTarget").mouseover(function()
{
$("#myTarget").addClass("active");
setTimeout(function()
{
if($("#myTarget").hasClass("active"))
alert("Verzoegert");
}, 1000);
});
$("#myTarget").mouseleave(function()
{
$("#myTarget").removeClass("active");
});
Url: http://sklueh.de/2013/09/verzoegertes-onmouseover-event-mit-jquery/
Language: JavaScript | User: sklueh | Created: Sep 24, 2013