Fix for Netscape 4 resizing problem

Technorealm. The UK web site design company

Free javascript

[One of a collection of free javascripts from www.technorealm.co.uk]

This script corrects the problem that sometimes occurs when resizing the Netscape V4.0 browser window. The 'problem' is that pages don't resize correctly with the window, and information can't be seen.

This script needs to go inside the <HEAD> tags.


<SCRIPT LANGUAGE = "JavaScript">

<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 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();
}
MM_reloadPage(true);
// -->

</SCRIPT>



www.technorealm.co.uk UK Web site design and graphics. A free resources site!