jquery animate running laggy
问题 I am trying to create a flashing arrow. However when I execute this script in different browsers it behaves badly. IE says its out of memory, Chrome lags for a second and then behaves well and in firefox the animation is sticky. Hope someone can work out a way that I can animate a flashing arrow smoothly. Thanks aniPointer($('#arrow')); function aniPointer(point) { point.animate({opacity: 1.0}, {duration: 300}) .animate({opacity: 0.2}, {duration: 700}) .animate({opacity: 0.2}, {duration: 300}