CreekDawg99
05-01-2003, 03:51 PM
Hi,
I have a web site that works using latest Netscape and Internet Explorer browser versions but is generating JavaScript Errors with older versions.
The first error I was able to fix. A little background possibly will help with the second error. The first error was occuring in Netscape Version 4.5. I have the following lines in my code:
strText = strText + "<br><img src=\"http://www.cuservicecenter.com/images/search.gif\" alt=\"Now Searching\">";
document.getElementById('showMap').innerHTML = strText;
I fixed it by changing to the following:
strText = strText + "<br><img src=\"http://www.cuservicecenter.com/images/search.gif\" alt=\"Now Searching\">";
var ns4=document.layers?1:0
if (!ns4)
document.getElementById('showMap').innerHTML = strText;
So, the first problem was that Nescape 4.5 didn't like the document.getElementById(X).innerHTML line.
But now I've had reports of JavaScript Problems using Internet Explorer 5.0. However, I don't have access to a computer running 5.0 (ever tried to downgrade from 6.0 to 5.0?). I don't have a clue how to fix this.
Does anybody have access to Internet Explorer 5.0 that could help or have any other ideas that might help? I don't want to post the URL here because I don't want anybody thinking this is spam or something like that. But if you can help, please either respond to this post or send me a private message and I'll give you more details about the site URL.
Thanks.
I have a web site that works using latest Netscape and Internet Explorer browser versions but is generating JavaScript Errors with older versions.
The first error I was able to fix. A little background possibly will help with the second error. The first error was occuring in Netscape Version 4.5. I have the following lines in my code:
strText = strText + "<br><img src=\"http://www.cuservicecenter.com/images/search.gif\" alt=\"Now Searching\">";
document.getElementById('showMap').innerHTML = strText;
I fixed it by changing to the following:
strText = strText + "<br><img src=\"http://www.cuservicecenter.com/images/search.gif\" alt=\"Now Searching\">";
var ns4=document.layers?1:0
if (!ns4)
document.getElementById('showMap').innerHTML = strText;
So, the first problem was that Nescape 4.5 didn't like the document.getElementById(X).innerHTML line.
But now I've had reports of JavaScript Problems using Internet Explorer 5.0. However, I don't have access to a computer running 5.0 (ever tried to downgrade from 6.0 to 5.0?). I don't have a clue how to fix this.
Does anybody have access to Internet Explorer 5.0 that could help or have any other ideas that might help? I don't want to post the URL here because I don't want anybody thinking this is spam or something like that. But if you can help, please either respond to this post or send me a private message and I'll give you more details about the site URL.
Thanks.