11-26-2002, 01:21 AM
I've seen it done, but I don't know HOW it was done. I'd like to add the option to change stylessheets on my site, so the user can click a link to change the current stylesheet. I can do the stylesheet itself, but HOW would I change it? Javascipt?
11-26-2002, 04:29 AM
Tested in IE6/Moz1.2b
<LINK id="stylecss" REL=StyleSheet HREF="mystyle.css" TYPE="text/css" MEDIA=screen>
11-26-2002, 04:39 AM
Would that apply to the whole site, or just that one page? Is there a way to make that style selection apply to the whole site until the viewer leaves or changes the style back?
Maybe something like this.
11-26-2002, 08:35 AM
11-26-2002, 04:28 PM
Here's how I did it on my site, using ASP on the server:
Whether you do it client-side or server-side, you'll probably want to save the user's selection using a cookie so it can be applied to all pages on your site.
11-26-2002, 04:42 PM
Another one from ALA: