Phillip B Oldham schrieb:
> Hi all
>
> I'm doing a sort of accordion effect on some elements. When one 
> element is clicked to open (eg, element B), i specify that all other 
> :visible elements should close before opening the clicked element.
>
> This works fine, but the animation is re-set if i re-click element B 
> before the other elements have finished closing, which give a bit of a 
> jump effect.
>
> Is there a way I can either "background" these animations, or test to 
> see if an element is currently being animated?
You can use the callbacks to see if the animations are finished. That's 
what I use in my accordion menu: 
http://bassistance.de/jquery-plugins/jquery-plugin-accordion/

-- 
Jörn Zaefferer

http://bassistance.de


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to