Home

Awesome

AnimateImage

This is a Class that creates an animated image.

Screenshot

Requirements

How to use

Syntax

#JS
var myAnimation = new Animate(url [,options]);

Arguments

  1. url - (string) the url of the image.
  2. options - (options, optional) the options for the animation

Options

Returns:

Example:

Morphing using an object:

#JS
var myAnimation = new AnimateImage('gnome-spinner.png',{
	width: 22,
	height: 22,
	rows: 5,
	cols: 7,
	fps: 10
});
$(myAnimation).inject($('spinner'));