The standard Dreamweaver script for repairing the Netscape resizing bug
seems to be a waste of bandwidth. Is there a reason no one moves this
script to an external file ? Wouldn't the following work?
<HEAD> ...
<SCRIPT SRC="netscaperesize.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript"><!--
MM_reloadPage(true); //--></SCRIPT>
</HEAD>
...
//------- Contents of netscaperesize.js -------------------
function MM_reloadPage(init) { //reloads window if Navigator v4
resized
if (init==true) with (navigator) {if
((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
location.reload(); }