Animate PNGs with jQuery?
Is there a simple plugin or some robust code that would allow me to animate PNGs with a simple start and stop method? TSM, Alex.
开发者_JAVA技巧
[Edit: I made a jQuery plugin that animates PNGs. Will post when it's all done.]
While this is not an "off-the-shelf" plugin, you may be intrested in checking out the following tutorial:
- Building an Animated Cartoon Robot with jQuery
It uses PNG images for all the layers. It explains how to implement a startHim()
method, which I'm sure you'll be able to convert into a stopHim()
. You may probably be able to skim through it, unless you are trying to do something similar.
精彩评论