Javascript opens new window property settings

Source: Internet
Author: User

Width = 40 set the new window width to a specific pixel (400 in this example)
Height = 300 set the height of the new window
Location = No: Set whether to display the address bar in the new window. The optional values are "yes" or "no"
Menubar = No: Set whether to display the menu
Toolbar = No determines whether the toolbar ("back", "home", and "reload") is displayed in the new window ")
Status = No determines whether the status bar is displayed in the new window. Warning some users may be lost if there is no status bar
Scrollbars = No determines whether a scroll bar appears in the new window. Do not use this option unless you want to hide a part of the content.
Resizable = Yes determines whether the user can scale the new window by holding down the bottom right corner of the page
Screenx = 175 horizontal distance from the left boundary of the new window to the right boundary in pixels
Screeny = 175 vertical distance between the upper boundary and lower boundary of the window opened in pixels

Function thebigpropper (){
Newwin = Window. Open ("url", "thenewwindow", "width = 400, Height = 300,
Location = No, menubar = No, resizable = Yes, screenx = 175,
Screeny = 175, status = No, toolbar = No ")
}

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.