CHAPTER 6Visual Effects

From animations and slides to fades, visual effects can add some sex and sizzle to a page. While these effects can be easily overdone, you'll soon understand why you should add them to a page and what problems they solve. With that understanding, you'll build your own animation object to demonstrate the concepts you've learned so far. To cap it all off, you'll learn how to use the JavaScript libraries talked about in Chapter4 to handle these animation effects.

Why Use Visual Effects?

Visual effects sometimes have a reputation for being flashy or even gaudy. In some cases they are, but animations can actually be quite helpful. Effects help to alert users or inform them that stuff is happening on the page.

Traditionally, ...

Get Accelerated DOM Scripting with Ajax, APIs, and Libraries 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.