jQuery sliding methods
With jQuery, you can create sliding effects on elements.
jQuery has the following sliding methods:
slideDown() slides the element down
slideUp() slides the element up
slideToggle() is between the slideDown() and slideUp() methods switch between.
jQuery slideDown() method
jQuery slideDown() method is used to slide an element down.
Syntax:
$(selector).slideDown(speed,callback);
The optional speed parameter specifies the duration of the effect. It can take the following values: "slow", "fast", or milliseconds.
The optional callback parameter is the name of the function to be executed after the sliding is completed.