[jQuery] Test whether element is undergoing animation?

[jQuery] Test whether element is undergoing animation?

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">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?
</font></font>
<div class="moz-signature">--
<div
style="font-family: sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 1.1; font-size-adjust: none; font-stretch: normal; width: 300px; color: rgb(51, 51, 51);">

<strong>Phillip B Oldham</strong>
The Activity People
<a href="mailto:phill@theactivitypeople.co.uk">phill@theactivitypeople.co.uk</a>


<hr size="1">
<p style="font-size: 90%;"><strong>Policies</strong>
<p style="font-size: 90%;">This e-mail and its attachments are intended
for the above named recipient(s) only and may be confidential. If they
have come to you in error, please reply to this e-mail and highlight
the error. No action should be taken regarding content, nor must you
copy or show them to anyone.
<p style="font-size: 90%;">This e-mail has been created in the
knowledge that Internet e-mail is not a 100% secure communications
medium, and we have taken steps to ensure that this e-mail and
attachments are free from any virus. We must advise that in keeping
with good computing practice the recipient should ensure they are
completely virus free, and that you understand and observe the lack of
security when e-mailing us.
<hr size="1">
</div>
</div>
</body>
</html>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/