
Chapter 8
218
Controlling frame content with links
To use links in frames, you must set a target for the link. The target is the frame in
which the linked content will open. For example, if the navigation menu is in the
left frame, and you want the linked material to appear in the main content frame,
you must use targets for all the navigation menu links. The target will be the name
of the main content frame—for example, main_frame. When a user clicks a a
navigation link, the content will open in the main frame.
To select a frame in which to open a file, you use the Target pop-up menu in the
Property inspector. You can set a file to open in a new frame, replace information
in the same frame as the link, or replace information in another frame. You can
also cause the linked content to overwrite the current frame (by not choosing a
target) or to appear in an entirely new browser window.
To target a frame:
1
Select text or an object.
2
In the Link field of the Property inspector, do one of the following:
•
Type the name of the file to link to.
•
Click the folder icon and select the file to link to.
•
Click and drag the Point to File icon to select the file to link to.
To specify an anchor (specific place) in the file to link to, enter a number
sign (#) before the anchor name. See “Linking to a specific place within a
document” on page 362.
3
In the Target pop-up menu, choose the location in which the linked document
should appear.
•
If you named your frames in the Property inspector, the frame names appear in
this menu. Select a named frame to open the linked document in that frame.
•
_blank
opens the linked document in a new browser window and keeps the
current window available.
•
_parent
opens the linked document in the parent frameset of the link.
•
_self
opens the link in the current frame, replacing the content in that frame.
•
_top
opens the link in the outermost frameset of the current document,
replacing all frames.
Содержание 38028779 - Macromedia Dreamweaver - Mac
Страница 1: ...macromedia Using Dreamweaver...
Страница 148: ...Chapter 4 148...
Страница 296: ...Chapter 12 296...
Страница 472: ...Chapter 18 472...
Страница 512: ...Chapter 21 512...
Страница 562: ...Appendix 562...