|
|
|
|
Open Browser Window behavior in Dreamweaver
Use the Open Browser Window behavior to open a page in new window. We will insert an image in a document, than we will set a value to the image to open new window by clicking on inserted image.
|
|
 |
|
|
|
|
|
 |
|
 |
|
 |
 |
1.
|
|
|
Create new HTML document.
|
|
|
2.
|
|
|
Click Insert and select Image.
|
|
|
3.
|
|
|
Select an image you want to add to the document. Click OK.
|
|
|
4.
|
|
|
An image is inserted in the document. Select an image.
|
|
|
5.
|
|
|
Click Window and select Behaviors.
|
|
|
6.
|
|
|
New window opens on the right side. Click Add behavior icon…
|
|
|
7.
|
|
|
…and select Open Browser Window.
|
|
|
8.
|
|
|
Click Browse and select a file which you want to open in a new window. I chose index.html.
Click OK.
|
|
|
9.
|
|
|
Now define sizes. I defined Width 200 and height 350.
Type the name in Window name field. Name should be in one word, otherwise you can have problems.
Click OK.
|
|
|
10.
|
|
|
Save the document (Ctrl + S). Press F12 to see your result in a browser.
|
|
|
11.
|
|
|
Click on the picture. The new window should open. Also recommended
|
|
|
 |
 |
|
|