Topic awaiting preservation: Problems with Explorer/Netscape (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: SWEDEN |
posted 10-22-2001 11:36
Can anybody help me with this javascript? |
Paranoid (IV) Inmate From: Lebanon |
posted 10-22-2001 12:07
should be like that: code: <script>
|
Obsessive-Compulsive (I) Inmate From: SWEDEN |
posted 10-22-2001 12:57
Thanks Lebanon! |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 10-22-2001 20:17
I have a small correction for Lallous' code from above... Since Nestcape 6 is the same thing as Mozilla, it should also match all Mozilla based browsers (Mozilla itself, Galeon, K-meleon, etc.) Oh, while we are at Netscape, I think that it should also match NN 4.7x. And the last thing, checking for availability of document.all will return true when viewing your page in Opera (more precisely when Opera runs in MSIE compatibility mode) and Opera is not IE, heh... So, "better" code (that does exactly that you wanted) would be this: |