CHAPTER 16
image
Movement and animation
From this point on, the JavaScript recipes really start to get interesting, as most of the core recipes have now been covered. Using the tools already outlined, the recipes in this chapter enable you to slide objects around the screen, deflate and inflate objects over time, and zoom objects in a variety of ways. With all of this, you can create some very impressive effects with only a few lines of code.
image
image Slide() ...

Get Web Developer's Cookbook 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.