各位大侠好,小弟需要做一个全屏显示的web程序,页面需要在触摸屏机器上访问的,页面需要全屏显示,
网上搜了很多,但是效果不理想,地址栏(只是变灰了)和状态栏仍然出现在屏幕,
请大家帮帮忙,谢谢!这个代码不能够完美显示全屏(地址栏(只是变灰了)和状态栏仍然出现在屏幕)
<script language="javascript">   
              if   (this.name!='FullWnd')   
                      {                           
                                  window.open(location.href,'FullWnd','fullscreen,scrollbars=no');     
                                  this.parent.opener=null;   
                                  this.parent.close();   
                                  
                      }     
</script>
</head>
<body scroll="no">一百分求完美全屏显示解决方案!

解决方案 »

  1.   

    window.open(location.href,"","fullscreen=1,menubar=0,toolbar=0,directories=0,location=0,
    status=0,scrollbars=0")
      

  2.   

    个人认为最完美的解决方法 Winform里内嵌Web页面.使用WebBrowser控件,灵活性高,技术难度也不大.
      

  3.   

    启动的时候用 iexplore.exe -k url
    或者用wsh脚本    Set oIE = CreateObject("InternetExplorer.Application")
        With oIE
            .TheaterMode    = True
            .TheaterMode    = False
            .FullScreen     = True
            .StatusBar      = False
            .Navigate url
            ' Call SynchronizeIE
            .Visible = True
        End With
      

  4.   

    fullscreen=1 或者 window.resizeTo(screen.width,screen.height);