Created
May 15, 2014 21:15
-
-
Save carlosrojaso/acabf25cbc99345b137c to your computer and use it in GitHub Desktop.
JQ link Fade and Slide Animations
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
// Hide all paragraphs using a slide up animation over 0.8 seconds | |
$( "p" ).slideUp( 800 ); | |
// Show all hidden divs using a slide down animation over 0.6 seconds | |
$( "div.hidden" ).slideDown( 600 ); | |
// Hide all paragraphs using a fade out animation over 1.5 seconds | |
$( "p" ).fadeOut( 1500 ); | |
// Show all hidden divs using a fade in animation over 0.75 seconds | |
$( "div.hidden" ).fadeIn( 750 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment