2010年1月23日 星期六
New Screencast: Complete/Non-Queuing Animations with jQuery
When you use jQuery’s .animate() function with something like a hover event, those animations will “queue up”. That is, if you hover multiple times, that animation will fire multiple times. The classic method to prevent this is to throw in a .stop() before the animation, but I find this abrupt and not ideal, because it [...] http://tinyurl.com/y8rkd9g