那很难实现。但可以模仿,效果不太好
<HTML>
<script>
self.moveTo(-5,-118)
self.resizeTo(screen.Width+30,screen.Height+143)
</script>
<body bgcolor="red" oncontextmenu="return false;">
测试!!
</body>
</HTML>

解决方案 »

  1.   


    <SCRIPT language="JavaScript">
     function toFull(){
      if(window.name=="fullscreen")return;
    var a =window.open("","fullscreen","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=800,height=600,top="+((screen.height-600)/2)+",left="+((screen.width-800)/2))
    a.location = window.location.href
    window.opener=null
    window.close()
     }
    toFull();
     </SCRIPT>
    <html>
    <body>
    //在这儿填写具体内容
    <input type=button value=关闭 onclick=window.close()>
    </body>
    </html>
      

  2.   

    虽然也是用window.open,但是我想是符合你的意思的吧?
      

  3.   

    谢谢 weidegong(weidegong) !!!!!!!!!!!!!
    我已经是泪流满面了,
    这个问题折腾了我差不多一个月了。
    我该怎么给你加分呢?