February 5th, 2008 by Tom

Dreamweaver provided a tool for creating links on your web document but you may not know we can create links that can open in a new window browser when visitor of our site clicking on it.

The tool that can help us create links to open in a new window is a target box under the link box. you can control link in 4 methods.

1. target _blank, 2. target _parent, 3. target _top, 4. target _self.

Dreamweaver tip - Open Link In a New Window


How to use it
The target box will active only when you create a hyperlink.

target = ” _blank” = Open a link in a new browser window.
target = ” _parent” = Open a link inside a frame (see example)
target = “_self” = Open a link in the same browser window, this is a default value when you don’t assign target value.
target = ” _top” = Open a link in the same window and skip a frame set (if you use frame)

The HTML Code
You can code in html like code below

<a href="http://www.google.com" target = "_blank">Google</a>

Leave a Reply