Phillip B Oldham wrote:
> 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?

I don't know of a way, but a custom (':animate') selector would be 
really cool for such things maybe... like:

$(elem).is(':animate')

Don't know if that's doable at all.


-- Klaus

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

Reply via email to