CHAPTER 7

image

Animation

I’ve breached the subject of animation multiple times in this book so far, but only the very basic bits. You’ve done some fading and sliding, but nothing more—until now. jQuery has a fully-featured animation library, but it comes with its quirks: sometimes things don’t entirely happen as you might expect. This chapter will cover those “gotchas” and a lot more, including:

  • jQuery’s animate() method, which allows you to animate a large number of properties.
  • More jQuery convenience methods, such as fadeOut, slideIn, and so on.
  • jQuery’s animation queue, which dictates how and when animations are run. They are not always run as ...

Get Beginning jQuery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.