Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var timeoutId;
- $('.link').hover(function(){
- clearTimeout(timeoutId);
- $(".list").fadeIn(500);
- }, function(){
- timeoutId = setTimeout($.proxy($(".list"), "fadeOut"), 300)
- });
- $(".list").mouseenter(function(){
- clearTimeout(timeoutId);
- }).mouseleave(function(){
- $(".list").fadeOut(500);
- });
Add Comment
Please, Sign In to add comment