Your best bet is to implement it with two separate images instead of a sprite.
47+ Jquery Animate Background Position Loop
Gif. // using multiple unit types within one animation. I'm wondering how to make infinite animation on jquery with a plugin background position animation i tried to implement setinterval();
How To Animate A Background Image From Left To Right And From Right To Left Stack Overflow from dummyimage.com
The animate() is an inbuilt method in jquery which is used to change the state of the element with css style. In this tutorial, we are animating image background by scrolling in vertical or horizontal direction. I'm wondering how to make infinite animation on jquery with a plugin background position animation i tried to implement setinterval();
After i redesigned the how does akismet work since this entire graphic is composed of empty divs with background images in the html (this this is why i used jquery to move the background position since i can use '+=102' to move the background by.
It is also possible to define relative values (the value is. Also it would be good if the back and forth animation would repeat continuously (loop). I tried on many ways to achieve that, but i got stucked. I'm wondering how to make infinite animation on jquery with a plugin background position animation i tried to implement setinterval();