Created
December 3, 2013 18:02
-
-
Save enopanen/7774237 to your computer and use it in GitHub Desktop.
Fading objects out of the document is very common with modern user interfaces. You can always have small popup boxes or notifications which need to display and then hide after a few seconds. Using the fadeToggle function you can quickly hide and display any objects in your DOM. Keep this code handy if you will ever need such functionality in a w…
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
$("a.register").on("click", function(e){ | |
$("#signup").fadeToggle(750, "linear"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment