Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

NN 4.08 refuses to load or randomly reloads the page

javascript timeout helps only a little bit



6:00 pm on Mar 25, 2002 (gmt 0)

10+ Year Member

I have a problem related to Web design for NN4. NN 4.08 is sometimes (randomly) refusing to load my entire page, or reloading the page without executing the Javascript in it. This may be a timing problem, and manifests itself in different ways.

My computer is 400 MHz, 96 MB, Windows 98. I am running Apache locally for this testing. My pages use frames, Javascript, CSS, and PHP (yes, I have reasons for using these). Liberal use of the Javascript setTimeout function sometimes allows the page to load, but does not completely solve the problem. The problem does not appear to be related to the infamous NN4 resizing bug (onresize is not raised on initial page load).

Sometimes it seems that NN4 is loading the pages correctly, but then does an extra load. The extra load only refreshes the top-level (frameset) page, without executing any Javascript.

Of course, the pages load perfectly in NS6, IE, and Opera without requiring the setTimeout calls. Strangely, the pages appear to load okay in NN 4.78, although I haven't done stress-testing.

The problem used to be worse: NN4 would hang. I solved this by removing the LINK statements for my external style sheet and using instead the PHP 'require' statement. But this hack may have hidden some deeper problem.

All help appreciated.



11:31 pm on Mar 25, 2002 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Funny coincidence. I have some live pages that show similar problems, something I just noticed this morning. No, I don't have an answer (but the javascript timeout did help). These pages run external css, javascript and frames and they are served on Apache.

I assume you're talking about 4.08 stand-alone Navigator and 4.78 Communicator. That is an odd one - I thought that Communicator 4.78 used the 4.08 browser!

At any rate, in my case I found a work-around without the frame, and that fixed it. So I'm very suspicious of javascript running in two frames at once on Netscape 4.

I'd love to put the frame back, it was there for search engine purposes. Anyone have more input?


1:27 pm on Mar 26, 2002 (gmt 0)

10+ Year Member

Hmm... I experienced exactly the same problems. I was going crazy: thought I was the only one! Boy, do I hate Netscape 4.x; but I am forced to make my site compatible with it to get listed in Yahoo.

Most of the problems on my site (profile) were resolved by ammending the table tags.

Still have an issue with the reviews page; can't submit to Yahoo until I can get that sorted.

It works fine on Netscape 4.0 and 4.5 on my PC, however people with Netscape on Macs are complaining that the image covers the text.

Does anybody know what the difference between Netscape 4.x on a PC and Mac is?

This issue is driving me bezerk... I don't have a Mac, so I don't know how to resolve it.


1:55 pm on Mar 26, 2002 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

The main difference is the size of a font.

Version 4 browsers didn't account for the difference between a Mac monitor (72 px per inch) and a PC monitor (96 px per inch). So lines of type (including non-breaking spaces and <br> tags!) take up different amounts of space and the relationship to things that remain the same (images) gets changed.


2:15 am on Mar 27, 2002 (gmt 0)

10+ Year Member

Tedster, you were exactly right :) Managed to resolve problems on most of my site to ammend the number of <BR> commands.

Only issue with one other page. I don't suppose the rules in this forum would allow me to list it here, so it's the 'fab five' page in the web site in my profile. I've tried to resolve the problem. Maybe it's displaying correctly now on Mac NS?

Thank you once again for your assistance Tedster. You were a big help!


2:46 am on Mar 28, 2002 (gmt 0)

10+ Year Member

Can anyone help? I just need a quick check from somebody with a Mac with Netscape 4.x before I submit to Yahoo. Can't afford for them to turn my site down again.

Thank you :)


9:07 pm on Mar 28, 2002 (gmt 0)

10+ Year Member

Hi. I'm the original poster of this thread. Just wanted to let you all know that I've found enough workarounds for my site to load (most of the time) correctly in NN4. This took many hours of trial and error.

(I feel that many people have lost a lot of productivity because of Netscape's amateurish programming. But this is just something to be accepted. There is no point wasting even more time flaming about it.)



9:16 pm on Mar 28, 2002 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

David, did you zero in on any of the bugs in detail? Did you stay with the frames layout?


9:31 pm on Mar 28, 2002 (gmt 0)

10+ Year Member

I think frames are wonderful. They make a big difference in download time for dialup connections, and they provide scrollbars and dynamic loading of html files.

I would spend weeks (well, actually, I HAVE spent weeks) to make frames work, I like them so much.

(For search engines, put a link, even an empty one, in the <noframes> section.)

So far as the NN4 timing bugs with frames in combination with client-side file access (external style sheets, external JS files and script execution, etc.) are concerned, no, I haven't found a good general workaround, and I suspect there is none.

All I did was find (through trial and error) the proper Javascript timeouts for the pages that had the worst problems.


(edited by: tedster at 9:34 pm (utc) on Mar. 28, 2002)


Featured Threads

Hot Threads This Week

Hot Threads This Month