window.open()
to maximized the web page. First look at the syntax of this method.
window.open(URL,name,specs,replace)
. To view the parameters please click here.window.open(URL, "MyTab", "width=" + screen.availWidth + ",height=" + screen.availHeight)
screen.availWidth
will return the maximum width of the display screen. screen.availHeight
will return the maximum height of the display screen.
No comments:
Post a Comment