window.open properties (maximize window)

admin

Administrator
Staff member
I want to open a new window that is maximized. How do I set up the properties in window.open. Here is the code that I am how using. Thanks for your help.


function makeNewWindow()
{
var n_win;
var windowProps;
n_win =randomName(); //Generate unique window name

windowFeatures = "top=0, left=0, resizable=yes"
+",width=" + (screen.width)
+",height=" + (screen.height);
newWindow = window.open ("../html_app/apframe.html",n_win,windowFeature
s)
newWindow.focus();
} // end of function makeNewWindow()
 
Back
Top