I want to be able to stop people spamming their mouse over the object to stop it fading in and out. At the moment if you spam across it it will just build a back log of events to do. I want to be able to stop it getting spammed by a delay (so that you hover over and off but it wont rehover and off for lets say 3 seconds) and then i also want to set how long the mouse needs to be on the object before it will run the function
$(document).ready(function() {
$(".image").hover(
function () {
$(this).find("span").fadeIn("slow");
},
function () {
$(this).find("span").fadeOut("slow");
}
);
});
You can use HoverIntent plug-in. Fast and easy!