enquest schrieb: > If I understand it correct you basicly do a simple thing. With the > function toggle you always know wich direction a block should go. > "Direction" gives later on slideUp or SlideDown. While experimenting with your code, I noticed that it is necessary to block each menu in each direction individually. Therefore I set two flags on every menu element. > > What I don't understand is: How the little program knows how to close > the menu. Even when its opening and you go out before the animation is > completed. By blocking only one direction, the slideUp can be queued while the slideDown is still active and is executed when the slideDown is finished. > > It would make a great tutorial for the jquery blog? I posted the code in the new Wiki, but I guess it needs some more explanation: http://docs.jquery.com/Cookbook/Navigation
I don't know yet how to post a working demo there. -- Jörn Zaefferer http://bassistance.de _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
