[Javascript] Does somebody know this?
Clark, Michael
Michael.Clark at OFM.WA.GOV
Tue Jul 24 11:14:00 CDT 2001
Hey, Andrew, it worked! You sure it doesn't work in Netscape? I don't have
NS at this location, so I can't test, but it would be even slicker if NS
could do this, too. But since our installation is enforced IE, that just
plunked a new tool into my box! Excellent!
-----Original Message-----
From: Andrew Gibson [mailto:andyg at ihug.co.nz]
Sent: Saturday, July 21, 2001 5:21 AM
To: javascript at LaTech.edu
Subject: RE: [Javascript] Does somebody know this?
> I don't think there is a way to change stylesheets on the
> client-side
You can change a style sheet in IE i think. You'd have two style sheets like
so:
<style>
</style>
<style>
</style>
Then have a function which would just toggle between the 2 style sheets on
click a link say:
document.styleSheets[0].disabled=true
document.styleSheets[1].disabled=false
Cheers
Andrew Gibson
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript
More information about the Javascript
mailing list