jquery - Dropdown menu needs to stay open after .hover -
ok, have tried many things , nothing seems working. dropdown menu stay open few seconds after user has hovered on (which i'm thinking cause usability issues), how can make work current code?
$(".dropdown .sub").hover(function () { $("#menu .holder").show(); });
check answer : add delay before .hide() w/jquery
var my_timer; $(".item").hover( function () { cleartimeout(my_timer); $(this).show(); }, function () { var $this = $(this); my_timer = settimeout(function () { $this.hide(); }, 500); } );
Comments
Post a Comment