各位大侠好,小弟需要做一个全屏显示的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">一百分求完美全屏显示解决方案!
网上搜了很多,但是效果不理想,地址栏(只是变灰了)和状态栏仍然出现在屏幕,
请大家帮帮忙,谢谢!这个代码不能够完美显示全屏(地址栏(只是变灰了)和状态栏仍然出现在屏幕)
<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">一百分求完美全屏显示解决方案!
status=0,scrollbars=0")
或者用wsh脚本 Set oIE = CreateObject("InternetExplorer.Application")
With oIE
.TheaterMode = True
.TheaterMode = False
.FullScreen = True
.StatusBar = False
.Navigate url
' Call SynchronizeIE
.Visible = True
End With