Applying and creating rollover styles
Rollover styles (indicated by a triangle in the upper left corner of the style thumbnail) simplify rollover creation by allowing you to turn a layer into a rollover effect with a single click. A rollover style includes all the attributes of a rollover, including its states and layer effects. When you apply a rollover style to a layer, the layer becomes a layer-based slice.
To apply a rollover style to a layer: - Select a layer in the Layers palette.
- Choose Window > Styles, or click the Styles palette tab, to display the Styles palette.
- Click the thumbnail for the rollover style you want to apply. Rollover style thumbnails have a triangle in the upper left corner.
To create a rollover style: - In the Rollovers palette, create the desired rollover states. (See Creating rollover states.)
Note: You must use a layer-based slice in order to create a rollover style. - Apply the effects to each state using predefined styles in the Styles palette or by manually setting layer effects in the Layers palette. (See Using layer effects and styles.)
- In the Styles palette, click the Create New Style button , or choose New Style from the palette menu.
- Enter a name for the style, set style options, and click OK. The Include Rollover States option must be selected in order to create a rollover style.
The new rollover style appears in the Styles palette. The thumbnail preview displays the effects in the Normal state.
|