basic clock script compatibility with netscape?
You need to be more specific. Post a link to the script you are asking about.
You cannot expect someone to hunt for a script that *might* be the one you are asking about.
I believe he/she is referring to this clock:
Actually I have the same problem (sort of). I messed around with a script that was based on that one, and yet I still can't figure out what makes it IE only. All the defined variables (like getUTChours) should work with non-IE browsers... so anyone else have any ideas...?
Here's the script I was messing with:
HTML File: http://www.btinternet.com/~fs2/temp/timezone.htm
Java-script File (.txt): http://www.btinternet.com/~fs2/temp/timezone.txt
I'm quite new to Java-script (I mostly mess around with Perl) so it's probably something obvious
I can tell you that it won't work with NS 6+ or Mozilla. It is only set up to work on NS 4 (document.layers) and IE (document.all). To make it work on NS 6, change the browser detection and then use
to change the data in the clock.
Also, in the SPAN tag, put quotes around the ID:
... id="..." ...
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)