Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: Changing a Style Sheet dynamically with JavaScript


Message #1 by "Jason Greenfeld" <jgreenfeld@r...> on Mon, 9 Oct 2000 17:12:44 +0100
I am having a font problem with CrapScape... oooops, I mean Netscape.

Does anyone know how to dynamically change a StyleSheet using JavaScript
depending on the Browser type.

Ex:

if navigator.appname == Netscape
    use StyleSheet A
otherwise 
use StyleSheet B

If this is not specific enough, let me know.

Thanks
Jason Greenfeld
http://www.rubicontechnologies.com

  Return to Index