On Wednesday, November 08, 2006 10:44 AM Mark Gibson <> said:

> This may work (untested):

[snip]

> ajaxStart delays the animation by 2 seconds using setTimeout,
> and ajaxStop cancels the timeout function (if it hasn't already
> been trigger) and stops the anim.

It sort of works!

Now it won't show the animation, $("#mydiv").slideDown(), but it will
still show the anim in ajaxStop(), $("#mydiv").slideUp(). So what I
think I need to do is figure out if the callback in setTimeout has
executed. If not I shouldn't play the slideUp() animation.


Thanks!
Chris.

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to