Skip to content

Instantly share code, notes, and snippets.

@swannodette
Created November 9, 2008 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save swannodette/23294 to your computer and use it in GitHub Desktop.
Save swannodette/23294 to your computer and use it in GitHub Desktop.
$(cssId).set('tween', {
duration: 300,
transition: Fx.Transitions.Cubic.easeInOut
onStart: function()
{
// before animation starts
// you can set up your element here
},
onComplete: function()
{
// do some cleanup here
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment