Created
December 4, 2009 23:11
-
-
Save padolsey/249450 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(ELEMENT).animate({ | |
left: [ 200, 'easeInOut' ], | |
top: [ 100, 'easeInSine' ], | |
width: 500 | |
}, 1000, 'linear'); | |
// The "linear" easing will only be used for the | |
// "width" property as the other two ("top" & "left") | |
// have their own easing functions to follow. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment