Rookie learns to use Dreamweaver MX 2004 behavior (7) Open browser window

Source: Internet
Author: User
Tags window dreamweaver
Dreamweaver| Browser

Site original content, reproduced please indicate the source Web page teaching network .

  Open the browser window

Use the Open Browser window action to open the specified URL in a new window. You can specify the properties of the new window (including its size), attributes (whether it can be resized, whether it has a menu bar, and so on), and the name.

If you do not specify any of the properties of the window, it is opened with the same size and properties as the window on which it is opened. Any properties of the specified window will automatically close all other properties that are not explicitly opened. For example, if you do not set any properties for a window, it opens at x 600 pixel size and has a navigation bar, address toolbar, status bar, and menu bar. If you explicitly set the width to 400, setting the height to 300 does not set other properties, the window opens at x 300 pixel size and does not have any navigation bars, address toolbars, status bars, menu bars, sizing handles, and scroll bars.

Specific production process:

Create a Button object, select the object, and open the Behaviors panel:

Click Browse to select a file, or enter the URL to display.

Set any of the following options:

Window width Specifies the width, in pixels, of the window. Window height Specifies the height, in pixels, of the window.

The navigation toolbar is a one-line browser button (including back, forward, home, and Reload).

The Address toolbar is a one-line browser option (including the Address text box).

The status bar is the area at the bottom of the browser window that displays messages in the area.

The menu bar is the area of the browser window that displays menus, such as file, edit, view, go, and help. If you do not set this option, users can only close or minimize windows in a new window.

Show scroll bars when needed specifies that scroll bars should be displayed if the content exceeds the viewable area. If you do not explicitly set this option, scroll bars are not displayed. If the Resize handle option is also turned off, it is not easy for visitors to see anything other than the original size of the window.

Resize handles specifies that the user should be able to resize the window by dragging the lower-right corner of the window or by clicking the Maximize button in the upper-right corner. If this option is not explicitly set, resizing controls will not be available and the lower-right corner cannot be dragged.

The window name is the name of the new window. If you want to use the link to point to a new window or control a new window through JavaScript, you should name the new window. This name cannot contain spaces or special characters.

Click OK and click F12 Preview.

The corresponding code added in the Code view, we can be familiar with:


(larger picture, please pull the scroll bar to watch)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.