Linking to documents using the Property inspector

Linking to documents using the Property inspector

You can use the Property inspector’s folder icon or Link text box to create links from an image, an object, or text to another document or file.

To link documents using the Property inspector’s folder icon or Link text box:

  1. Select text or an image in the Document window’s Design view.
  2. Open the Property inspector (Window > Properties) and do one of the following:

    This is a picture of the feature being described.

    • Click the folder icon to the right of the Link text box to browse to and select a file

      The path to the linked document appears in the URL text box. Use the Relative To pop-up menu in the Select HTML File dialog box to indicate whether to make the path document-relative or root-relative; then click Select. The type of path you select applies only to the current link. For more information, see Understanding document locations and paths.

      You can change the default setting of the Relative To text box for the site. For more information, see Setting the relative path of new links.

    • Type the path and filename of the document in the Link text box.

      To link to a document in your site, enter a document-relative or site root-relative path. To link to a document outside your site, enter an absolute path including the protocol (such as http://). You can use this approach to enter a link for a file that hasn’t been created yet.

    For document-relative paths, omit the part of the absolute URL that is the same for both the current document and the linked document: If the file you’re linking to is in the same folder as the current document, enter the filename; if it’s in a subfolder, provide the name of the subfolder, then a forward slash (/), and then the filename; if it’s in the parent folder, precede the filename with ../ (where ".." means "up one level in the folder hierarchy").

  3. From the Target pop-up menu, select a location in which to open the document.

    To make the linked document appear somewhere other than in the current window or frame, select an option from the Target pop-up menu in the Property inspector:

    • _blank loads the linked document in a new, unnamed browser window.
    • _parent loads the linked document in the parent frame or parent window of the frame that contains the link. If the frame containing the link is not nested, then the linked document loads in the full browser window.
    • _self loads the linked document in the same frame or window as the link. This target is the default, so you usually don’t have to specify it.
    • _top loads the linked document in the full browser window, thereby removing all frames.


Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Inserting and Formatting Text
Adding Audio, Video, and Interactive Elements
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly