JQuery mouseout timeout
问题 Similar problems have been dealt with before but I believe mine's slightly different owing to the use of the bind() function. Anyhow... $('.overlay').bind("mouseenter",function(){ $(this).fadeTo('slow', 0); }).bind("mouseleave",function(){ setTimeout(function() { $(this).fadeTo('slow', 1); }, 2000); }); I want to fade out the overlay on "mouseenter", but only fade it back in 2000ms after "mouseleave". I have an additional question: When the .overlay div fades out, I need to be able to click