• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 3. Creating Links > Targeting Links

Targeting Links

When you link to a page, the linked page usually replaces the current browser page. At times, however, you may want to display the new browser page in a different window. If you link to a site outside your site, for example, you lead users out of your pages. If users haven't bookmarked your URL, they might not remember how to return to your site. When an outside link opens a new browser window, the original page remains in the first window.

1.
In the intro.html document, select the More Lighthouses graphic. From the Property inspector's Target menu, choose _blank.

In Dreamweaver, you change where the linked page is to be displayed by using targets. Targets other than _blank are used with frames. You will learn about frames in Lesson 9. The additional targets are as follows:

  • _blank: Loads the linked document into a new, unnamed browser window.

  • _parent: Loads the linked document into the parent frameset or window of the frame that contains the link.

  • _self: Loads the linked document into the same frame or window as the link. This target is the same as the default, so you usually don't have to specify it.

  • _top: Loads the linked document into the full browser window, thereby removing all frames.

2.
Save the file and preview it in the browser.

When you click the bottom graphic, the linked page opens in a new browser window. You can close this file.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint