2008-04-10
javascript---打开网页自动最大化(兼容IE,ff).
<script language="JavaScript1.2">
<!--
// Auto maximize window script - By Nick Lowe (nicklowe@ukonline.co.uk)
// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/
window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
//-->
</script>
- 22:39
- 浏览 (259)
- 评论 (0)
- 分类: html&css&js代码
- 相关推荐







评论排行榜