Make a loading icon with static PNG

CMaraceli

New Member
I was planning to make a loading icon with PNG on HTML using Javascript..
What i mean, is not embedding a GIF.. I found http://stackoverflow.com/questions/2820011/loading-animated-png/
It using GIF..I got this idea when once, GMail using this method, I inspect-element it..
It using a PNG with about 10 gear-like inside the image..
Each other are the same gear but with some degree of rotation difference.. When the chat is sending, it show a loading icon, the gear, but it was a single gear that moving, rotating...I wonder how to do this..
I really want to avoid using GIF at all..EDIT:I got what i want at http://devthought.com/wp-content/projects/mootools/APNG/Demo/
At "Pre-existing DIV element (single image), with per-frame intervals" section..thanks for the answers
 
Back
Top