The easiest way is to just use a class or id on the body: <body class="base_theme theme_1">
js: $('body').removeClass('theme_1').addClass('theme_2'); -- dz On Tue, Sep 1, 2009 at 11:08 AM, Badbeer<insyn...@gmail.com> wrote: > > If it were me, I'd do it differently. For example: > > In my page, I would have a list representing all the sheets I have. > > <span id="default_css">Default </span> > <span id="ss1">1 </span> > <span id="ss2">2 </span> > <span id="ss3">3 </span> > <span id="ss4">4 </span>... > > The default sheet would always be used so, I add the following css to > it: > > #ss1, #ss2, #ss3, #ss4... { > display: none; > } > > Now, the page would just display "Default". > > Add to each sheet, css to reveal its use by adding the appropriate > selector change, e.g., for sheet "3" add: > > #ss3 { > display: inline; > }: > > Now, if sheet "3" is used, the display would show: > > Default 3. > > I know it's not fancy but it's easy to maintain. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---