如何禁止移动用windows.open打开的页面。我用windows.open打开一个无路径栏,状态栏,工具栏,但是我想它不能移动,或者可以用其它函数代替,但是打开的新窗口一定系无路径栏,状态栏,工具栏的。请各位大哥帮忙一下!若能解决问题立刻给分!

解决方案 »

  1.   

    window.open("xxx.aspx","","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizeable=no,width=screen.availWidth,height=screen.availHeight,top=0,left=0");
      

  2.   

    用windows.open打开一个全屏的页面,但是我就是不喜欢它可以移动,如能解决问题的,立刻给分
      

  3.   

    在WINDOW.OPEN中,有一个参数:fullscreen ,不知道你是否使用过?示例如下:
    window.open("xxx.aspx","","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizeable=no,fullscreen=yes,height=screen.availHeight,top=0,left=0");以这种方式打开的窗口,是没有任何标题栏状态栏什么的,关闭都只能通过ALT+F4才可以.这个应该就是你想要的东西.
      

  4.   

    window.open("xxx.aspx","","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizeable=no,fullscreen=yes,height=screen.availHeight,top=0,left=0");
      

  5.   

    提示你一下1、SetTimeOut
    2、Window.MoveTo剩下的你自己考虑一下