我是想实现全屏显示,因为要做触摸屏网站,所以地址栏、菜单栏、标题栏全不显示。我用了window.open进行设置,
window.open   ("default.aspx",   "",   "height="   +   screen.height   +   ",   width="   +   scren.width   +   ",top=0,left=0,   toolbar=no,   menubar=no,     scrollbars=auto,   resizable=yes,   location=no,   status=no")   可是标题栏还会在。怎么实现真正全屏?如果用window.open   ("default.aspx",   "",   "fullscreen=yes")实现了全屏,但屏幕右边怎么多了一条类似滚动条的东西?急问!

解决方案 »

  1.   

    window.open  ("default.aspx",  "",  "scrollbars=no,fullscreen=yes")
    或者在default.aspx页面中的body标签中写scroll="no"
      

  2.   

    <asp:Lable ID="lable" runat="server" Text="想要体验触摸屏网站吗,想要体验新的功能吗,想要身体健康吗?请按F11全屏显示"><Lable>
      

  3.   

    在页面的body中分别设置X和Y的滚动为NO就可以了
      

  4.   

    不要伪全屏,只要真全屏!!<html>
    <head>
    <title>123</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <script>
    <!--
    function omiga_window(){
    window.open("d.htm","","fullscreen,scrollbars")
    }
    //-->
    </script>
    </head><body onload="omiga_window()" onblur="focus();closes.Click();" scroll="no">
    <object id=closes type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
    <param name="Command" value="Close">
    </object> 
    <p> </p>
    <p> </p>全屏!</body>
    </html>
      

  5.   

    windows.open的文件d.htm一定要存在,正是这个文件全屏!!
      

  6.   

    参考了http://www.eye4u.com1、a.html要打开的网页。
    <html><head><title>EYE4U active media</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><frameset rows="100%,*" framespacing="0" frameborder="no" border="0">    <frame SRC="要打开的网页.htm" NAME="main" frameborder="0" border="no" marginwidth="0" marginheight="0" scrolling="no">  <frame SRC="blank.htm" NAME="unten" frameborder="0" border="no" marginwidth="0" marginheight="0" scrolling="no"></frameset><noframes></noframes></html>
    2、b.html
    <script type="text/javascript">
            window.open("a.htm",  "", "fullscreen=yes");
    </script>a.htm->b.htm->要打开的网页.htm
      

  7.   

    谢谢各位!
    window.open  ("default.aspx",  "",  "scrollbars=no,fullscreen=yes") 
    这个不好使,但是在body中加了scroll="no"就可以了,再次感谢!
      

  8.   

    只要被打开的网页不含<script>脚本,按楼主的方法 
    window.open  ("wholeScreen.html",  "",  "fullscreen=yes");
    经我测试在IE6中可以实现全屏;
    但是在Firefox中测试时,无法实现全屏