Created
February 25, 2013 01:14
-
-
Save omurphy27/5026675 to your computer and use it in GitHub Desktop.
JQUERY - check to see if animated
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
if ( $test2.is(':not(:animated)') ) { // fires if the element is not animated | |
$test2.animate({ | |
'width': '100%' | |
}, 3000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment