Hello, I have this little code window.open("http://google.com", "_blank", "location=1,status=1,scrollbars=1,resizable=1,menubar=1,toolbar=1,width=1000,height=1000"); how can I set the width and the height to maximum , I mean the new popup windows must take the whole size of screen , how can I do that ?
<a href="#" onclick='window.open ("http://google.com","mywindow","menubar=1,resizable=1,width=" + screen.availWidth + ",height=" + screen.availHeight +"screenX=0,screenY=0,top=0,left=0"); '>Test</a> HTML: