Skip to content

xamlmonkey/AnimationChain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Animation Chain

A jQuery plugin to chain CSS3 transitions together.

Example


var c1 = $("#div-two").animationChain()
            .addClass("color1")
            .addClass("color2")
            .addClass("color3")
            .addClass("color4");
            
var c2 = $("#div-one").animationChain()
            .addClass("color1")
            .addClass("color2")
            .addClass("color3")
            .addClass("color4");
            
//Start the chains with a 1 second delay between them.            
$.animationChain()
  .execute(function () { c1.start(); })
  .delay(1000)
  .execute(function () { c2.start(); })
  .start();
            

About

A jQuery plugin to chain CSS3 transitions together.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published