Adobe photoshop cs2 사용자 설명서
589
ADOBE PHOTOSHOP CS2
User Guide
To assign URL link information to an Image slice
Assigning a URL to a slice makes the entire slice area a link in the resulting web page. When a user clicks the link,
the web browser navigates to the specified URL and target frame. This option is available only for Image slices.
the web browser navigates to the specified URL and target frame. This option is available only for Image slices.
1
Select a slice. If you are working in Photoshop, double-click the slice with the Slice Select tool to display the Slice
Options dialog box.
2
In the Slice Options dialog box (Photoshop) or the Slice palette (ImageReady), enter a URL in the URL text box,
or choose a previously created URL from the pop-up menu. You can enter a relative URL or absolute (full) URL. If
you enter an absolute URL, be sure to include the proper protocol (for example, http://www.adobe.com, not
www.adobe.com). For more information on using relative and full URLs, see an HTML reference.
you enter an absolute URL, be sure to include the proper protocol (for example, http://www.adobe.com, not
www.adobe.com). For more information on using relative and full URLs, see an HTML reference.
3
If desired, enter the name of a target frame in the Target text box, or choose an option from the Target menu:
_blank
Displays the linked file in a new window, leaving the original browser window open.
_self
Displays the linked file in the same frame as the original file.
_parent
Displays the linked file in its own original parent frameset. Use this option if the HTML document contains
frames and the current frame is a child. The linked file appears in the current parent frame.
_top
Replaces the entire browser window with the linked file, removing all current frames.The name must match a
frame name previously defined in the HTML file for the document. When a user clicks the link, the specified file
appears in the new frame.
appears in the new frame.
Note: For more information on frames, see an HTML reference.
To specify browser messages and Alt text
You can specify what messages appear in the browser. These options are available only for Image slices and appear
only in exported HTML files.
only in exported HTML files.
1
Select a slice. If you are working in Photoshop, double-click the slice with the Slice Select tool to display the Slice
Options dialog box.
2
In the Slice Options dialog box (Photoshop) or the Slice palette (ImageReady), type the desired text.
Message Text/Status Bar Message
Changes the default message in the browser’s status area for a selected slice or
slices. By default, the slice’s URL, if any, is displayed.
Alt Tag/Alt
Specifies an Alt tag for a selected slice or slices. The Alt text appears in place of the slice image in
nongraphical browsers. It also appears in place of the image while the image is downloading and as a tool tip in some
browsers.
browsers.
Adding HTML text to a slice
When you choose a slice of type No Image, you can enter text to be displayed in the slice area of the resulting web
page. This is HTML text that you format using standard HTML tags. You can also select vertical and horizontal
alignment options. For more information on specific HTML tags, see an HTML reference.
page. This is HTML text that you format using standard HTML tags. You can also select vertical and horizontal
alignment options. For more information on specific HTML tags, see an HTML reference.
Photoshop and ImageReady do not display HTML text in the document window; you must use a web browser to
preview the text. Be sure to preview HTML text in different browsers, with different browser settings, and on
different operating systems to confirm that your text is displayed correctly on the web.
preview the text. Be sure to preview HTML text in different browsers, with different browser settings, and on
different operating systems to confirm that your text is displayed correctly on the web.
Note: The amount of text in a No Image slice can affect the layout of an exported page.