属性都在这了:window.open( [sURL] [, sName] [, sFeatures] [, bReplace])
sFeatures:
channelmode = { yes | no | 1 | 0 }
directories = { yes | no | 1 | 0 }
fullscreen = { yes | no | 1 | 0 }
height = number
left = number
location = { yes | no | 1 | 0 }
menubar = { yes | no | 1 | 0 }
resizable = { yes | no | 1 | 0 }
scrollbars = { yes | no | 1 | 0 }
status = { yes | no | 1 | 0 }
titlebar = { yes | no | 1 | 0 }
toolbar = { yes | no | 1 | 0 }
top = number
width = number

解决方案 »

  1.   

    最大化实际上就是
    window.width=screen.width
    window.height=screen.width
    因此只要知道了屏幕的分辨率即可,
    <SCRIPT LANGUAGE="Javascript"><!--
       
    if (self.screen) {     // for NN4 and IE4
            width = screen.width
            height = screen.height
    // Testing this first prevents firing the slow Java of NN4
    }
    else if (self.java) {   // for NN3 with enabled Java
           var jkit = java.awt.Toolkit.getDefaultToolkit();
           var scrsize = jkit.getScreenSize();       
           width = scrsize.width; 
           height = scrsize.height; 
    }
    else{
     width = height = '?' // N2, E3, N3 w/Java off, probably Opera and WebTV}
    document.write("Your Screen Resolution is:");
    document.write(width +"&#215;"+ height)
    //or whatever based on the above results//--></SCRIPT>
      

  2.   

    原来你是要根据显示器的分辨率调用不同的页面啊!
    要用window.open打开的有这个必要吗??
      

  3.   

    <script>
    var d="resizable=1,width=" +window.screen.Width + ",height="+screen.Height
    var a = window.open("","",d)
    a.moveTo(-4,-4)
    </script>
      

  4.   

    var newWin = window.open("aaa.htm")
    newWin.resizeTo(screen.width, screen.height)
      

  5.   

    http://www.chinavisual.com/forum/viewtopic.php?t=14138