Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Netscape 6 and JavaScript

Status
Not open for further replies.

danielh68

Technical User
Jul 31, 2001
431
US
Hi,

I'm having problems with a site I'm developing. The client insists on using a script that floats the menu bar. The function isn't bad, in fact I like it. It works great in Explorer, however it fails in Netscape 6. It just doesn't move. Here's the link if your interested:
I'm really confused. I don't know if Netscape is problematic towards javascript, or it's something in the code. I just don't know. I don't have much experience with Netscape, I looked in preference to see if the javascript was enabled. The only thing I found was the "application helper", upon which I added javascript, too. If anyone has any suggestion, they will be deeply appreciated.

Thanks in advance,
Dan
 
Just by a quick glance it looks like your code is specific to Netscape 4.x and IE 4.x +

The problem is that Netscape 6 no longer supports the document.layers methods that you use in the page. You should look into using the W3C DOM which Netscape 6 supports.


The same code should also work in IE5.x +

Hope that helps. ===
Supports Mozilla and Web Standards
Knows HTML/XHTML, CSS1, JavaScript, PHP, C++, DOM1
===
 
Hello there. I have been designing websites for a while now yet I am stuck on one issue. I have recently designed a members only website that uses the best of Javascript and popup windows without menu, status, and toolbars. I set it this way so that people cannot link to a certain page in the site but rather are forced to login first as they cannot access the link name on the individual pages. Seems to work quite well in Internet Explorer but in AOL the address shows up in the address bar above. I do not want this so I need to know, is there a way to keep AOL browsers from accessing this site? I have tried out other scripts and played with them but nothing yet. I only want this site to be accessible to Internet Explorer and not browsers like AOL. Any ideas?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top