Using JS files - Problems with Netscape

They have: 5,633 posts

Joined: Jan 1970

vegas.com.au/~jasper/demo/home/index.html

I am working on a new site that will use the same menu on each page. What I have decided to do is store this information in a JS file then simply import the file then write the menu contents. This works fine in IE4 but I have had trouble with Netscape.

The page will load fine but if the Reload button is pressed the JS files will be ignored and only the HTML page is reloaded. This causes the menu to disappear.

Can you force the page to reload with the JS files aswell? Also I would like to know what browsers support JS files.

----------
[email protected]
vegas.com.au/~jasper

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

I didn't have a problem reloading with NS 4.6 at my computer, and I couldn't locate an obvious flaw....the code looked just fine.

Perhaps someone else can see this and figure out where NS is tripping up? Smiling

The .js file is supposed to be supported in both browsers starting at version 4 and up... I believe. Shocked

----------
Page Resource: http://www.pageresource.com
JavaScript City: http://www.javascriptcity.com

They have: 5,633 posts

Joined: Jan 1970

Works fine in NS 4.51

They have: 268 posts

Joined: May 1999

Worked ok for me. Netscape 4.61

----------
My goal in life is found in Phillipians 4:8-9

They have: 5,633 posts

Joined: Jan 1970

Thanks for your help. I really appreciate it. I have been using Netscape Communicator version 4.05. Maybe this bug has been fixed since this version.

I do not intend to update my version of Netscape as I use IE4 most of the time. I only use Netscape when testing out my creations. In the past Netscape has given me many headaches.

----------
[email protected]
vegas.com.au/~jasper

They have: 5,633 posts

Joined: Jan 1970

I tried it with NS 4.06, and it worked fine, so it must just be a bug that's been fixed Smiling

They have: 5,633 posts

Joined: Jan 1970

lloydhass, you should update your Netscape version to a more commonly used version. The early realeases of NS 4.x are a piece of s***. The same is true for early 4s of IE, so you should really consider to update.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.