NS 4 sniffing?

by "Hilma" <Hilma(at)hilma.freeserve.co.uk>

 Date:  Sat, 25 May 2002 14:30:53 +0100
 To:  <hwg-basics(at)hwg.org>
 References:  nrc ntlworld ntlworld2 ntlworld3 hilma
  todo: View Thread, Original
Having found that my links don't work in NS4, and i need a separate style
sheet for them, i also find that

<div style="color:yellow ">

Last updated: <script  type="text/JavaScript">

document.write(document.lastModified)
document.write(navigator.appName)
document.write(navigator.appVersion)
 </script>
 </div>

Does not work in NS6 (let alone NS4).

Can anyone tell em how to find out if i am in NS4 so i need the other style
sheet (perferably not using JS else those with JS disabled will not get the
other style sheet).
(I was earlier given a link to a page with code that does it in -  but that
page now appears to be offline!)

thanks -

h.

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA