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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.