|
Dreamweaver - Popup Windows |
|
Written by Website Tutorials
|
|
Thursday, 25 May 2006 |
|
Popup Windows Popup Windows can easily be created with Dreamweaver, the following example shows how to create a popup window.
- Create a link. This can be a text or image link.
- Select the link (the <a> tag).
- Open the Behaviors Palette.
- Click on the Behaviors Menu and click on 'Open Browser Window'.
- A dialog box will come up with several fields. The most important field is the 'URL to Display'. You can browse for a file if necessary. You can also specify the width and height of the window, whether it has a navigation toolbar, scrolling bars, etc. You can also give the window a name, which is useful if you plan on loading other information in there later.
- Make sure the Event is set to onClick.
This can also be used with other events, such as onMouseOver or onLoad. If you would like to have a browser window open when a page is loaded, simply select the <body> (lower left corner) before setting your behavior and follow the same steps as above. |