Skip to main content

Animation

  • Chapter
Book cover Beginning jQuery
  • 2323 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 24.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics