Created
October 21, 2010 04:06
-
-
Save fitzgeraldsteele/637921 to your computer and use it in GitHub Desktop.
A simple jQuery animation snippet that fades an element, does some work on it, and then fades in
This file contains hidden or 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
$('#link').click(function( | |
$('#content_container').fadeOut("fast",function() { | |
updatePage(); | |
//other code here | |
}).fadeIn(); | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment