Controlling frame content with links

Controlling frame content with links

To use a link in one frame to open a document in another frame, you must set a target for the link. The target attribute of a link specifies the frame or window in which the linked content opens.

For example, if your navigation bar is in the left frame, and you want the linked material to appear in the main content frame on the right, you must specify the name of the main content frame as the target for each of the navigation bar links. When a visitor clicks a navigation link, the specified content opens in the main frame.

To target a frame:

  1. In Design view, select text or an object.
  2. In the Link field in the Property inspector (Window > Properties), do one of the following:
    • Click the folder icon, then select the file to link to.
    • Drag the Point to File icon to the Files panel to select the file to link to.
  3. In the Target pop-up menu in the Property inspector, select the frame or window in which the linked document should appear:
    • _blank opens the linked document in a new browser window, leaving the current window untouched.
    • _parent opens the linked document in the parent frameset of the frame the link appears in, replacing the entire frameset.
    • _self opens the link in the current frame, replacing the content in that frame.
    • _top opens the linked document in the current browser window, replacing all frames.

    Frame names also appear in this menu. Select a named frame to open the linked document in that frame.

Related topics

  • Setting frame Property inspector options


Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Laying Out Pages with CSS
Managing Templates
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly
 
ASPTreeView.com
 
Evaluation has Фі»µ·Аёіexpired.
Info...