To abort before the animation starts you'd use slearTimeout.  In the
case where the animation has already started you'd use $
(selector).stop ()

On Nov 2, 12:17 am, "S. Robert James" <[EMAIL PROTECTED]> wrote:
> I have an animation that runs after a delay:
>
> setTimeout(function(){$(".mbox").fadeIn('slow');},500);
>
> If I need to cancel it, how do I this?
> I would like to cancel it regardless of whether it is still in the
> initial setTimeout of 500ms, or has already started to fadeIn.

Reply via email to