$("#menu-categories").animate({height: "toggle", width: "toggle"} - Problem
Heyho!
i got a problem with a selfcoded Wordpress theme in which i use JQuery for all that nice stuff. And i got a problem, where i do not know where it is nor how toe fix it. Maybe you can help me? :)
First of all, the problem is here on that homepage:
http://nick.jaussi.eu/portfolio/
If you move the mouse too fast over the menu (sometimes several times in a row) the menu does not slide open anymore. Or it opens half or just some pixeles. Only a refresh of the page resolve the problem temporarily.
I thought it must work with queue: false, but it does not. So do you know any better ways to solve this?
Thanks!
-
$("#menu-top").mouseenter(function() { $("#menu-categories").animate({ height: "toggle", width: "toggle" }, { queue: false, duration: 350, easing: "easeInOutExpo" }); });
-
$("#menu-top").mouseleave(function() { $("#menu-categories").animate({ height: "toggle", width: "toggle" }, { queue: false, duration: 350, easing: "easeInOutExpo" }); });
Thanks a lot!
t:a