
Originally Posted by
mmmwowmmm
I'd like to modify the script so that a user can select multiple stylesheets at once, using radio buttons (or multiple select menus) so that they could choose one alternate stylesheet for the font color, then another for the background, etc., and the page would be using these alternate stylesheets simutaneously.
You seem to have misunderstood the concept of alternate style sheets: each alternate group is mutually exclusive. That is, by enabling one group, the others are automatically disabled.
The administrator (ddadmin) and I recently discussed this in the thread entitled style switching not work on IE, but works on everything else.
... I don't really know what I'm doing, as I'm not a java guy.
Good news then: client-side scripting isn't Java! 
You could still implement your idea using (markup) classes. Rather than using separate style sheet groups, you'd alter the class attribute of the body element and prefix the different theme rules with the classes you create.
Take the following trivial example:
Code:
/* Default */
body {
background: #ffffff;
color: #000000;
}
p.warning {
background: transparent;
color: #c00000;
}
/* Inverse scheme */
body.inverse {
background: #000000;
color: #ffffff;
}
.inverse p.warning {
background: #c00000;
color: #ffffff;
}
By adding "inverse" to the class attribute, you can switch the colour scheme.
I'd generally be wary of doing something like this as you might give the user the ability to make very poor combinations, perhaps making the site unreadable and unusable for some users. However, you could also use style sheet switching to provide overall themes, and then add slight variations using class switching (for want of a better expression).
Mike
Bookmarks