怎么让一个网页全屏,或者是说让applet全屏我在网上找了好多,但都没有用,谁可以告诉我下,还有我想到一个办法就是在这个applet启动的时候按f11,但是不知道怎么实现,高手就帮帮我吧,好急啊

解决方案 »

  1.   

    查查javascript的window.open()方法
      

  2.   

    <html>
    <head>
    <title>hhhh</title>
    <script language="JavaScript">
    function fullFrame(){
       var WshShell = new ActiveXObject('WScript.Shell')
       WshShell.SendKeys('{F11}');
    }
    </script>
    </head>
    <body onload="fullFrame()">
     
    </body>
    </html>试一下:
      

  3.   

    <form>
    <div align="center">
    <input type="BUTTON" name="FullScreen" value="全屏显示" onClick="window.open(document.location, 'big', 'fullscreen=yes')">
    </div>
    </form>
      

  4.   

    用tsxzscj() 和yu__yfchun125(Nick)的方法也是不行,还有其它的方法吗?
    模拟f11的说是automaiton服务器不能创建对象window.open方法上面还是会出一个标题栏
      

  5.   

    window.open   的标题栏可以用空格隐藏的
      

  6.   

    window.open   的标题栏可以用空格隐藏的
    ----------------------------------------
    可以说得具体些吗?我按了空格没反应啊我说的是标题栏就是最上面那一栏,窗口标题栏,在最右边有最小化,还原/最大化,关闭按钮的
      

  7.   

    <%@ page contentType="text/html; charset=GBK" language="java" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>xxx</title>
    <script language="javascript">    
    function startApp() {
            nw = window.open("*.jsp", "_blank", "fullscreen=yes, location=no, titlebar=no, toolbar=no, menubar=no, status=yes, resizable=yes", false); 
             nw.moveTo(0,0);             
             nw.resizeTo(screen.availWidth,screen.availHeight); 
             window.top.opener = null;
             window.top.close();                 
    }
    </script>
    </head>
    <body >   
    <script language="javascript">
             startApp()                                      
    </script>
    </body> 
    </html>
      

  8.   

    var WshShell = new ActiveXObject('WScript.Shell')
       WshShell.SendKeys('{F11}');