See the code behind my lattest work at Github.com.
Elements can also be shown and revealed via the slide functions. A common use case for this feature is when, for example, you have a message to display to the user that can be dismissed once read.
slideUp(): animates the height of the matched elements to 0 (or whatever CSS min-height is set to). When the animation finishes, the
displayCSS property of the element is set to 'none' to remove the element from the page layout
slideDown(): animates the height of the matched elements to reveal them
slideToggle(): toggles the state of the matched elements, either sliding them up or down depending on their current state