Created
January 6, 2011 04:44
-
-
Save texel/767508 to your computer and use it in GitHub Desktop.
I want div to slide down *and* fade in, AT THE SAME TIME (ZOMG)
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
| $(div).fadeIn().show('slide', {direction: 'up'}); // BZZZT... they both get queued | |
| // BZZZZT... they both get added to the object's fx queue... same deal! | |
| $(div).fadeIn(); | |
| $(div).show('slide', {direction: 'up'}); | |
| $(div).fadeIn().show('slide', {direction: 'up'}).dequeue(); // DINGDINGDING! This works but is incredibly stupid! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment