日期:2014-05-18  浏览次数:20406 次

.net 全屏显示问题
这是我全屏的代码,但在发布后通过IP地址访问时出现了最小化和最大化那一栏和最下面的状态栏,请问怎么将他们去掉,真正实现全屏显示。

1.htm          
    <html>          
    <head>          
    <title> 无标题文档 </title>          
    <meta       http-equiv= "Content-Type "       content= "text/html;       charset=gb2312 ">          
    </head>          
       
    <body       onload= "window.open( 'fullscreen.htm ', ' ', 'fullscreen=1,scroll=no '); ">          
    </body>          
    </html>          
       
       
    fullscreen.htm          
    <html>          
    <head>          
    <title> 无标题文档 </title>          
    <meta       http-equiv= "Content-Type "       content= "text/html;       charset=gb2312 ">          
    <script       language= "JavaScript1.2 ">              
    <!--              
    function       opensmallwin(myurl){              
    var       w2=300;//想弹出窗口的宽度              
    var       h2=100;//想弹出窗口的高度              
    var       w3=window.screen.width/2-w2/2;              
    var       h3=window.screen.height/2-h2/2;              
    window.open(myurl, 'small ', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=0,width= '+       w2       + ',height= '+       h2       + ',left= '+       w3       + ',top= '+       h3       + ' ');              
    }              
    //-->              
       
    <!--          
    function       modelesswin(url,mwidth,mheight){          
            if       (document.all&&window.print)          
                    eval( 'window.showModelessDialog(url, " ", "help:0;resizable:0;status:0;center:1;scroll:0;dialogWidth: '+mwidth+ 'px;dialogHeight: '+mheight+ 'px &qu