用满屏DIV
[CODE]<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>测试</title>
<style type="text/css">
body,td{margin:0px;padding:0px;font-family:"宋体";font-size:12px;color:#464646;}
.unTranScreener{width:100%;height:100%;border:0px; background:#333333;position:absolute;z-index:991;}
.ObjInitialize{width:0px;height:0px;position:absolute;top:0px;left:0px;z-index:0;cursor:default;}
</style>
<script language="javascript1.2" type="text/javascript">
//显示隐藏加载全屏层
function $(ID) {return document.getElementById(ID);}
function showScreener(){ //显示不透明层
$("Screener").className = "unTranScreener";
$("Screener").style.filter = "Alpha(Opacity=75)";
$("Screener").innerHTML = "<table height=\"100%\" width=\"100%\"><TR><td align=center><input type=\"button\" onclick=\"hiddenScreener();\" value=\"取消\"></td></tr></table>";
}
function hiddenScreener(){
$("Screener").innerHTML = "";
$("Screener").className = "ObjInitialize";
}
</script>
</head>
<body scroll="no" onselectstart="return false">
<div id="Screener" class="ObjInitialize"></div>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><input type="button" onclick="showScreener()" value="显示"></td>
</tr>
</table>
</body>
</html>[/CODE]