The sliding family of methods that we looked at over the course of the chapter are the last of jQuery's built-in, predefined animation methods. The methods we looked at in this chapter were:
slideDown()
slideUp()
slideToggle()
We saw that these methods are very similar in how they are used to the other built-in jQuery effect methods, allowing us to specify the same arguments. All that differs is the actual effect. The techniques we learned in this chapter included:
Showing elements that are hidden using
slideDown()
Hiding visible elements with
slideUp()
Toggling the visibility of elements with
slideToggle()
Adding easing to jQuery's built-in effects
Using the
:animated
filter to test whether an element is currently being animatedFixing a common flickering issue with slide-down submenus
How CSS affects sliding elements
We looked at how each of the sliding methods can be used, and also covered easing and how we can easily add these subtle but effective methods to enhance or otherwise...