Creating Animation!

Now comes some of the cool stuff—using CSS and JavaScript to create animation on a Web page. And the great thing about the animation you look at here is that the user doesn't need any plug-ins or downloads because it's all built into the browser, and to top it all off, it's fast!

What Is Animation?

Animation is the process of making something move or appear to move. Because in the computer world everything manipulated onscreen is light, let's look at how to make things appear as though they are moving.

Animation has two components. The first is the distance that is moved between successive frames, which is called the jump. The second is the time interval in between each successive jump, which is called the interval. If you ...

Get JavaScript™ 1.5 by Example 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.