dreamweaver| Tutorials | Web page
Eight, add interactive effect to the webpage
Example: How to open a browse window without a toolbar
In a link to text or a picture, just set target to "_blank" to make the linked page open in a new window. But have you ever seen a Web page that opens a new window that doesn't contain toolbars, status bars, url bars? How does such a window do?
First select the cursor on a link (can be a picture link, can also be a text link), press the button on the Behavior panel, select: Open Browser Window, the following figure:
Then see the following dialog box:
Example: How to open a browse window without a toolbar
Once you've set it up, you can see that the behavior panel already appears. In addition, it is recommended to change events to parentheses, such as changing the onclick to (onclick), so that you can adapt to more browsers, as shown in the following figure:
In this way, we click on the image in the browse state, we can see a "Nothing" Browse window:
Other behaviors effect will not be introduced, we can try their own.
①url: A page opened in a new window;
② width, height: the width and height of the new window;
③ Attributes:Select the properties of the new window, as for these six attributes represent what the content, we can try, can deepen the impression;
④The name of the new window; If you add the Open Browser window's behavior to multiple links, the window names will be the same, so that the linked pages will be displayed in the same browsing window without opening the new window all the time.