Adobe photoshop cs2 사용자 설명서
608
ADOBE PHOTOSHOP CS2
User Guide
To create a layer-based slice for a rollover (ImageReady)
1
Select the layer in the Layers palette, or choose Layer > New Layer-Based Slice from the main menu. The content
of the layer will define the active area for the rollover.
2
Click the Create Layer-Based Rollover button
in the Web Content palette.
By default, ImageReady adds an Over state to the new slice.
To add a rollover state (ImageReady)
1
In the Web Content palette or the image, select a slice or image map.
2
In the Web Content palette, click the Create Rollover State button
3
Use the default rollover state assigned by ImageReady, or select a different rollover state.
.
See also
To change a rollover state (ImageReady)
1
Do one of the following:
•
Double-click a rollover state in the Web Content palette.
•
Select a rollover state in the Web Content palette, and choose Rollover State Options from the palette menu.
2
Select a state, and click OK. See “Rollover state options (ImageReady)” on page 608.
Rollover state options (ImageReady)
Choose from the following options when setting a rollover state.
Over
Activates the image when the viewer moves the pointer over (“rolls over”) the slice or image map area while
the mouse button is not pressed. (Over is automatically selected for the second rollover state.)
Down
Activates the image when the viewer presses the mouse button while rolling over the slice or image map area.
The state persists as long as the viewer keeps the mouse button pressed and the pointer is over the area.
Click
Activates the image when the viewer clicks the mouse while the pointer is over the slice or image map area.
The state persists until the viewer moves the pointer out of the rollover area.
Note: Different web browsers, or different versions of a browser, may process clicks and double-clicks differently. For
example, some browsers leave the slice in the Click state after a click, and in the Up state after a double-click; other
browsers use the Up state only as a transition into the Click state, regardless of single- or double-clicking. To ensure that
your web page will function correctly, preview rollovers in various web browsers.
example, some browsers leave the slice in the Click state after a click, and in the Up state after a double-click; other
browsers use the Up state only as a transition into the Click state, regardless of single- or double-clicking. To ensure that
your web page will function correctly, preview rollovers in various web browsers.
Custom
Activates the image of the specified name when the viewer performs the action defined in the corre
sponding JavaScript code. (You must create JavaScript code and add it to the HTML file for the web page for the
Custom rollover option to function. See a JavaScript manual for more information.)
Custom rollover option to function. See a JavaScript manual for more information.)
Selected
Activates the rollover state when the viewer clicks the slice or image map area. The Selected state persists
until the viewer activates another Selected rollover state. Other rollover effects can occur while the Selected state is
in effect. For example, a Selected state for one button and an Over state for another button can be in effect simulta
in effect. For example, a Selected state for one button and an Over state for another button can be in effect simulta