Log in

View Full Version : prevent jquery build up on this css menu



gk-web
03-30-2010, 09:52 AM
Hi guys,
I am using this menu on one of our websites -
http://www.dynamicdrive.com/style/csslibrary/item/jquery_drop_line_tabs/P0/

I would to implement the following tips to the menu but am not sure how to..
1) Implement a .stop() to prevent animation queue buildup. See Brandon Aaron's solution:
http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup

2) Set a timeout for the menus to stay open for ~1s or so. As it stands, mousing 1 pixel off the bottom will close all layers of the menu, and can be quite frustrating to users.

Could anyone assist me?

Thanks in advance

simcomedia
04-08-2010, 04:19 PM
What part don't you quite get? That solution simply added a .stop() function ahead of the .animate() function in order to achieve the reduction in queue buildup. I don't have the code for the menu but that example is pretty self explanatory.

362
06-02-2010, 02:31 AM
hey gk did you ever find a solution for the animation queue build up? I don't get it either 'cause the code is not the same.