[Javascript] Does somebody know this?
Andrew Gibson
andyg at ihug.co.nz
Sat Jul 21 07:21:20 CDT 2001
> 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
More information about the Javascript
mailing list