|
楼主 |
发表于 2004-11-11 18:21:52
|
显示全部楼层
控制全屏的代码,请帮忙看一下:
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript" type="text/JavaScript">
<!--
function MakeFull(url)
{
//closes.Click();
var fullWin = window.open(url,"","fullscreen=yes,scrollbars=no,toolbars=no");
fullWin.moveTo(0,0);
fullWin.resizeTo(1280,960);
fullWin.focus();
CloseWin();
}
//-->
</script>
<script language="JavaScript">
<!--
function CloseWin()
{
var ua=navigator.userAgent
var ie=navigator.appName=="Microsoft Internet Explorer"?true:false
if(ie){
var IEversion=parseFloat(ua.substring(ua.indexOf("MSIE ")+5,ua.indexOf(";",ua.indexOf("MSIE "))))
if(IEversion< 5.5){
var str = '<object id=noTipClose classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">'
str += '<param name="Command" value="Close"></object>';
document.body.insertAdjacentHTML("beforeEnd", str);
document.all.noTipClose.Click();
}
else{
window.opener =null;
window.close();
}
}
else{
window.close()
}
}
//-->
</script>
</HEAD>
<BODY topmargin="0" style="overflow-x:hidden,overflow-y:hidden" scroll="no">
正在连接到Justep Business Web Server...
<script language="JavaScript" type="text/JavaScript">
//window.location.href="./Business/Business.html";
MakeFull("./Business/Business.html");
</script>
</BODY>
</HTML> |
|