function MM_reloadPage(init) {
if (true == init) {
with (navigator) if ("Netscape" == appName && 4 == parseInt(appVersion)) {
document.MM_pgW = innerWidth;
document.MM_pgH = innerHeight;
onresize = MM_reloadPage;
}
} else if (innerWidth != document.MM_pgW || innerHeight != document.MM_pgH) location.reload();
}
如果浏览器名字为Netscape 并且版本为4就设置高宽什么的。是不是设置浏览兼容之类的我也不晓得。。。