Many of the most impressive effects you’ll see on web sites are also the simplest. For example, a smooth fade from one image to another is often far more beautiful than other wipe or dissolve transformations. Likewise, instantly revealing or hiding an object, when done well, is clean and easy on the eye.
This chapter focuses on these types of effects, ranging from setting the visibility (or invisibility) of an object to fading objects in and out, fading between objects, and so on. The recipes in this chapter also provide the basic functionality required by many later recipes—most particularly, the menu and navigation recipes ...

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.