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);
I suspect that it will assume that all variables are properties of 'navigator', and 'innerWidth' and 'inner height' are properties of 'window'.

You might try removing the 'with' statement and using full names for all properties instead.

Regards,
David


____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub

________________ http://www.wdvl.com _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]


Reply via email to