只能是移动
window.moveTo(-4,-120)
a.resizeTo(screen.Width+10,screen.Height+170)或着<script>
var a = window.open("about:blank","","fullscreen=yes")
self.opener=null
self.close()
a.moveTo(0,0)
a.resizeTo(screen.Width,screen.Height)
a.focus();
a.location='http://lucky.myrice.com'
a.document.body.style.overflow = "hidden"
</script>

解决方案 »

  1.   

    <HTML>
    <script>
    self.moveTo(-5,-118)
    self.resizeTo(screen.Width+30,screen.Height+140)
    </script>
    <body bgcolor=red oncontextmenu="return false;">
    <p>测试!!
    </body>
    </HTML>
      

  2.   

    看了大家都喜欢衣服穿的少的,好看:)
    <SCRIPT language="JavaScript">
     function toFull(){
      if(window.name=="fullscreen")return;
    var a =window.open("","fullscreen","fullscreen=yes")
    a.location = window.location.href
    window.opener=null
    window.close()
     }
    toFull();
     </SCRIPT>
    <html>
    <body>
    //在这儿填写具体内容
    <input type=button value=关闭 onclick=window.close()>
    </body>
    </html>
      

  3.   

    谢谢你啊,我一定给分!!
    我想问下,如果要保留最上边的TITLE显示和最小最大化按钮,该怎么做呢?
    就是达到这样的效果
    window.open('test.asp','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=800,height=600');
      

  4.   

    第二种方法,怎么去掉“你查看的Web页正在关闭窗口”的提示信息?
    据说要JAVASCRIPT签名,该怎么做啊?谢谢您们!!!
      

  5.   

    第二种方法,怎么去掉“你查看的Web页正在关闭窗口”的提示信息?
    据说要JAVASCRIPT签名,该怎么做啊?谢谢您们!!!
      

  6.   

    第二种方法,怎么去掉“你查看的Web页正在关闭窗口”的提示信息?
    据说要JAVASCRIPT签名,该怎么做啊?谢谢您们!!!
      

  7.   

    <object id=hhctrl classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"> 
    <param name="Command" value="Close"> 
    </object> 
    无提示关闭
    <script>hhctrl.Click()</script> 
      

  8.   

    你不会真的不知道吧?赠送居中显示:)你不会真的不知道吧?<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>
      

  9.   

    qiushuiwuhen(秋水无恨) 谢谢大侠!!可这段代码该放在什么位置,怎么用啊,我是菜鸟
      

  10.   

    weidegong(weidegong) 对对对,可提示信息怎么去掉呢:)),我太笨了!!
      

  11.   

    前面加上
    <object id=hhctrl classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"> 
    <param name="Command" value="Close"> 
    </object> 
    替换掉对应位置的
    window.close()

    hhctrl.Click()
      

  12.   

    <object id=hhctrl classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"> 
    <param name="Command" value="Close"> 
    </object> 
    <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
    hhctrl.Click()
    //window.close()
     }
    toFull();
     </SCRIPT> 
    <html>
    <body>
    //在这儿填写具体内容
    <input type=button value=关闭 onclick=window.close()>
    </body>
    </html>是这样吗?可没关掉啊,两个窗口都在啊,我哪里错了吗?
      

  13.   

    supershot(笨瓜):
    你要把 <input type=button value=关闭 onclick=window.close()>
    改为 <input type=button value=关闭 onclick=hhctrl.Click()>