代碼
代碼如下:
<script language="javascript">
self
self
</script>
代碼
以下代碼放在<head></head>之間:
代碼如下:
<script language=″javascript″>
<!--function winfix() {
if (document.layers) {
width=screen
height=screen
} else {
var width=screen
var height=screen
}
self
self
}
//-->
</script>
以下代碼放在<body>Tag裡
代碼如下:
<body onload=″winfix()″>
代碼
代碼如下:
<script language="javascript">
self
self
</script>
<OBJECT id="max" type="application/x
<PARAM name="Command" value="Maximize"></OBJECT>
<BODY onload="if(document
代碼
代碼如下:
<SCRIPT>
var mywidth
if (navigator
mywidth=parseInt(window
//alert("ns")
}
else{
if (navigator
mywidth=document
//alert("ie")
}
}
var ScreenOffset;
if (mywidth <=
//alert("
}else{
ScreenOffset = parseInt((mywidth
ScreenOffset =
// alert("
}
fwLoadMenus();
window
if (navigator
mywidth=parseInt(window
if(self
maximize
}
}
else{
if (navigator
mywidth=document
if(self
maximize
}
}
}
}
function ChangeLocation(){
var size = screen
if(size!="
document
}
}
</SCRIPT>
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/20556.html