Abstract
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 you might expect.
-
Common mistakes beginners make with animation—and how to avoid these mistakes.
-
Enhancing the animation on your accordion so that it is less buggy.
-
The infamous jQuery project: an image slider.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2013 Jack Franklin
About this chapter
Cite this chapter
Franklin, J. (2013). Animation. In: Beginning jQuery. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4933-7_7
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4933-7_7
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4932-0
Online ISBN: 978-1-4302-4933-7
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books