Dreamweaver 4 concise tutorial (8. Add interactive effects to web pages 3)
Author:Eve Cole
Update Time:2009-05-30 18:35:31
8. Add interactive effects to web pages
Example: How to open a browser window without toolbar
In text or picture links, just set the Target to "_blank" to make the linked web page open in a new window. But have you ever seen some web pages where the new window that opens does not include the toolbar, status bar, or URL bar? How is such a window made?
First select the cursor on a link (it can be an image link or a text link), and press button and select: Open Browser Window, as shown below:
Then you will see the following dialog box: Example: How to open a browser window without a toolbar
After setting it up, you can see that the behavior has appeared in the behavior panel. In addition, it is recommended to change Events to bracketed events, such as changing onClick to (onClick), so that it can adapt to more browsers, as shown below:
In this way, when we click on the picture just now in the browsing state, we can see a "nothing" browsing window:
I won’t introduce the other Behaviors effects in detail. You can try them yourself.
① Url: the page opened in the new window;
② Width, Height: the width and height of the new window;
③ Attributes: Select the attributes of the new window. As for what these six attributes represent, you can try it yourself to deepen your impression;
④The name of the new window; if the Behavior of Open Browser Window is added to multiple links, the window names are set to the same, so that the linked web pages will be displayed in the same browsing window without opening new windows all the time.