I have created a cms theme, it has some customization features which I want to show on live demo. Basically I want to add Javascript style switchers or modifier. I want users to select some value from checkbox or select tags and the selected value should reflect on html element. for example,
my page container is
<div id="container"> <!--PAGE GOES HERE --> </div>
if users click on 'color scheme blue' on selecting this, I want my container to have the class 'blue_theme' added
<div id="container" class="blue_theme" > <!--PAGE GOES HERE --> </div>
Also, is it possible to directly change css property like this
/* Base property */
#container{
background:red;
}
if users click on 'color scheme blue' on selecting this, I want to make my container to be
/* Base property */
#container{
background:blue;
}