Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] CSS multibrowser
- From: gsibay at hexacta.com (German Sibay)
- Subject: [Javascript] CSS multibrowser
- Date: Thu May 12 08:56:20 2005
Hi, I have the following problem: I have two different stylesheets, one for Mozilla and another for IE. I?m using Struts and remoteScripting. I have the javascript code to detect the browser already but I don't discover how to change the style sheet by javascript. The idea is that depending on the browser I want to include this <link href="../css/ie/tabs.css" rel="stylesheet" type="text/css"> For IE Or this <link href="../css/moz/tabs.css" rel="stylesheet" type="text/css"> For Moz Can I easily change the complete stylesheet with a javascript function when the page is loaded (onLoad) ? Thanks!
- Follow-Ups:
- [Javascript] CSS multibrowser
- From: Hassan Schroeder
- [Javascript] CSS multibrowser
- Prev by Date: [Javascript] Play Tune Using Button - involves Javascript, XML, XSLT
- Next by Date: [Javascript] CSS multibrowser
- Previous by thread: [Javascript] Play Tune Using Button - involves Javascript, XML, XSLT
- Next by thread: [Javascript] CSS multibrowser
- Index(es):