window.open Full Screen command parsing and usage example in JS

Source: Internet
Author: User

Window.Open Presumably we are not unfamiliar with it, then how to make it full screen some friends do not know, the following for you to introduce their common commands and how full screen

The code sample code is as follows: window.open (URL, ' new Window ', ' width= ' + (window.screen.availwidth-10) + ', height= ' + (    window.screen.availheight-30) + ', Top=0,left=0,resizable=yes,status=yes,menubar=no,scrollbars=yes '); Second, the command resolution window.open pop-up new window of the Command page.html pop-up window filename newwindow pop-up window name (not file name), not required, available empty "" Instead of height=100 window height width    = 400 window Width top=0 window The pixel value at the top of the screen left=0 window from the pixel value on the left side of the screen Toolbar=no whether the toolbar is displayed, yes to show menubar,scrollbars the menu bar and scroll bar Resizable=no whether to allow changes to the window size, yes to allow location=no whether the address bar is displayed, yes to allow status=no to display information in the status bar (usually the file is open), yes to allow
Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.