🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

spriteControl is a jQuery & jQuery UI widget used to animate an image sprite frame by frame on mouse hover. Easy to use and highly customizable.

Sprite-Animation

Documentation

spriteControl

jQuery sprite animation controlled by hover state.

Configure options:

  • step: Set size in pixels for each frame.
  • allsteps: All available steps in the sprite image in order to make the step animation. This number will be divided by steps; hence calculating background position.
  • loop: Looping by default is false. Looping means will not stop at the last frame.
  • reverse: By default is true. It means that on mouse out will will animate back until the first frame.
  • horizontalImg: By default is true. Means that the sprite image is horizontal (landscape). While making it false, is for vertical sprite (portrait).

You May Also Like