Reputation: 1764
Does anyone know of a good method/tutorial on creating animated buttons using multiple images? I found a tutorial a while back and now can't find one - all resources I can find are for animating between two frames (either by using opacity via jquery or moving the BG image). I'm looking for a way to animate 4-5 frames on rollover and jquery is perfectly fine but I can't find one after an hour on Google. Any help?
Upvotes: 1
Views: 560
Reputation: 301
I'm not an expert, but you could try to chain the animations using jQuery's .animate() function.
Just from looking at the brief documentation, it seems possible to combine the alpha blending technique with each animate() step, by setting the options, queue:true, and setting the complete option to the next animation.
Hope that helps.
Upvotes: 1