About rollovers

A rollover is a Web effect in which different states of an image appear when a viewer performs a mouse action—such as rolling or clicking—over an area of the Web page. A state is defined by a specific configuration of the Layers palette, including layer location, styles, and other formatting options.

You use a slice or image map area to define the active area for a rollover. When you add a new state to the image, you capture a snapshot of the slice or image map area in the previous state. You can then use the Layers palette to make changes to the image in the new state. When you save an image with rollover states as a Web page, each rollover state is saved as a separate image file.

Illustration of an image with three rollover states: A. Normal state B. Over state C. Down state

You can use layer styles to create instant rollover effects. When working with layer-based slices, you can also save the series of states as a rollover style. (See "Applying and creating rollover styles" on page 402.)

Photoshop Secrets

Photoshop Secrets

Are You Frustrated Because Your Graphics Are Not Looking Professional? Have You Been Slaving Over Your Projects, But Find Yourself Not Getting What You Want From Your Generic Graphic Software? Well, youre about to learn some of the secrets and tips to enhance your images, photos and other projects that you are trying to create and make look professional.

Get My Free Ebook


Post a comment