David,
Thanks for your quick response. I found out that some of
my NN files were corrupted, and after I downloaded and
installed NN 7.1, all is fine now. Weird.

Jan
==========

Subject: RE: Reload function for NN From: David Blakey <[EMAIL PROTECTED]> Date: Mon, 27 Jan 2003 14:49:51 +1300 X-Message-Number: 4

>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
--
http://www.jdvisions.com
Web Development and Design


____ • 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: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to