Netscape 4 locks up, but not IE...

They have: 2 posts

Joined: Jan 2001

I recently started working on designing a menu like navigation system that uses layers. I wrote some javascript code that generates the html for all of the layers that I need and I'm using CSS stylesheets to to change the colors, borders, etc.. The problem that I'm having is that Netscape 4 and 4.5 always lock up when I load the page. It works fine in IE5 and NS6. A small portion of the static code that my javascript generates is at:

http://www.telacreations.com/nav/test5.html
You may have to hit reload a couple of times.

The exact same code with the mouse events removed does not cause any problems:

http://www.telacreations.com/nav/test6.html

Any help would be appreciated.
Thank You

AndyB's picture

They have: 344 posts

Joined: Aug 1999

It's hard to solve the problem with only what you have posted. The functions that are called generate script errors because there are no functions included in the sample page.

They have: 2 posts

Joined: Jan 2001

Sorry, I removed all of the JavaScript when I was trying to figure out what the problem was. I re-uploaded the page with the JavaScript I've been using.

http://www.telacreations.com/nav/test5.html

I'm not getting JavaScript errors though. Netscape is actually locking up (General Protection Fault). I know how Netscape can be with JavaScript, so to test it I changed every JavaScript function to:

function functionName()
{
alert("Function Name");
}

It didn't help. I think it may have something to do with a combination of the mouseover/mouseout events and the border-width attributes in the CSS styles. It acts as though they're trying to share a block of memory and it's throwing an exception (if this is a ridiculous concept please tell me). If I remove either one of them it starts to work, but when I remove the border width attribute for a DIV tag (or set it to 0) then Netscape won't display the background color of any layers in that class.

You can load the page up in IE or NS6 and you'll get an idea of what I'm trying to do. You may have to hit reload a couple of times with Netscape to get it to lock up. If it won't lock up for you could you please tell me what version of NS and what OS you're using.

Thanks in advance,
Ryan

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.