jquery - Flickering issue on mouse over -
i found many other members same problem except none of them close enough script fix problem or don't have technical knowledge in jquery solve myself.
i have simple slide menu opposite of drop down , noticed flickers when mouse on child li
i placed here http://jsfiddle.net/noeg/f9qyb/2/ demonstrate issue
(function ($) { $("#menu > ul > li:has(ul)").mouseenter(function () { $(this).find("ul").stop(true, true).slidedown(); }).mouseleave(function () { $(this).find("ul").stop(true, true).slideup(); }); })(this.jquery);
thanks.
simply add short delay:
$("#menu > ul > li:has(ul)").mouseenter(function () { $(this).find("ul").stop(true, true).delay(300).slidedown(); }).mouseleave(function () { $(this).find("ul").stop(true, true).delay(300).slideup(); });
Comments
Post a Comment