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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript page works fine in IE, not in Netscape

Status
Not open for further replies.

williamsba

Programmer
Aug 3, 2000
57
US

I have a page I made that includes a javascript title of some strobe lights. It works perfect in Internet Explorer, but when I open it in Netscape 4.75 it comes up w/ a 404 error saying the script could not be located. Is there some kind of plugin that Netscape needs to be able to view javascript? I would think it should be standard by now. Any information would be helpful, thank you Brad Williams
Webmaster
2d Force Service Support Group
United States Marine Corps
 
Hahaha :) You'd think, huh? Honestly, there shouldn't be an error unless for some reason the file wasn't there. I take it you're specifying the file, right? Try putting the code into the file and see what it does. It should just skip over it in Netscape if it doesn't work.

There are TONS of things Netscape doesn't support when it comes to JavaScript. There's really not too much you can do about that. It's bad, but we just have to deal with it.

~[ cid ]~

Cid
ciddivine@yahoo.com

 
Im not pointing to the specific file. Im pointing to the page that calls the specific file. It doesnt even load up the HTML page, it just goes to a error 404 page saying it cant find the script. Internet Explorer has no problem finding the script everytime. The more and more I work with Netscape, the more and more I learn to hate it. Brad Williams
Webmaster
2d Force Service Support Group
United States Marine Corps
 
Here is the top half of the code. I ran it through net mechanic and it came back saying the &quot;<script language=&quot;javascript&quot; type=&quot;text/javascript&quot; src=&quot;styledetect.js&quot;>&quot; was where the error was at. When Netscape tries to open this it says the error is w/ styledetect.js. Should I take that line out altogether?


<html>
<head><title></title>
<script language=&quot;javascript&quot; type=&quot;text/javascript&quot; src=&quot;styledetect.js&quot;>
</script>
</head>
<body bgcolor=&quot;#000000&quot; link=&quot;#FF9900&quot; vlink=&quot;#FF9900&quot; alink=&quot;#FF9900&quot;>
<p align=&quot;center&quot;>
<applet code=&quot;BumpyExtreme.class&quot; width=&quot;604&quot; height=&quot;122&quot;>
<param name=&quot;lighttype&quot; value=&quot;double&quot;>
<param name=&quot;background&quot; value=&quot;000000&quot;>
<param name=&quot;bumpmap&quot; value=&quot;juggalo2.gif&quot;>
<param name=&quot;colormap&quot; value=&quot;juggalo.gif&quot;>
<param name=&quot;lightcolor&quot; value=&quot;D00404&quot;>
<param name=&quot;lightsize&quot; value=&quot;60&quot;>
</applet> Brad Williams
Webmaster
2d Force Service Support Group
United States Marine Corps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top