slideUp causes the concerned element to hide with an up sliding motion. In other words, it give a folding effect to the element.Like other effects , it can have three optional arguments for duration, easing and callback. The callback is actually another function, which we wanna call once, the animation of sliding up is over.
Opposite to the slideUp method defined above, it slides down to show the element back on the page.
Like always, we have a toggle effect here also. It toggles the present state of the element.
Slide up simplySlide up in 3 secondsI am in hurryI will shoutSlide up allSlide up one by one from top
Slide in all Toggle all
About the code, its the same as the previous one on this page. Only hide() has been replaced by slideUp() and show by slideDown(), toggle by slideToggle
After these sliding animation effects, lets move to the most amazing jquery effects.