[jQuery] How to show loading div only when loading takes longer than a certain amount of time
Hello,
I've got a loading animation that appears each time a request is made
through AJAX but I'm thinking about getting rid of it altogether because
the loading happens so quickly. The animation is actually just kind of
annoying.
But I was thinking that instead of getting rid of it entirely I could
just make it appear if the loading takes longer than n-seconds. I'm
using ajaxStart() and ajaxStop() to show the animation.
Thanks,
Chris.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/