width=screen.Width;
height=screen.height;

解决方案 »

  1.   

    open前时得不到,因为句柄指向的form还没打开。
    open后可以。
      

  2.   

    var o = window.open('t2.htm',null ,'toolbar=yes,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes');
    alert( o.window.document.body.clientWidth );
    alert( o.window.document.body.clientHeight );
      

  3.   

    我是open以后去取得
    var hd=window.open(url);
    alert(hd.doucument.body);
    alert(hd.window.document.body);
    但是都是null
    这一段是我写在js里的一个函数的一部分