Say:
Skin 1 = light on dark
Skin 2 = dark on light
Skin 2 is, basically, skin 1 BUT with a different CSS file.
How do I do this without having to duplicate and sync the template files all the time?
archive:
site:
Available for skin/mod commission! π
Make them one skin and use javascript to switch the CSS file.
Perhaps this would be a good use for that Javascript in the corrections letter that didn't end up getting used?
Huh?
Oh, sorry. That was meant for Elle. It's related to a project we're working on together. I should have just emailed her instead. : )
I implemented this method: http://www.alistapart.com/articles/alternate/
... and it all works. π I had to add a title to the <link> in the header.php though so it wouldn't constantly override.
archive:
site:
Available for skin/mod commission! π
Darn it, stop thinking of all the good ideas first.
I took a brief look at the ALA implementation. Does this mean that it would be possible to load the basic stylesheet and then have the user pick the actual skin style? A large portion of our skins are the same except for banner/color and this would save a heck of a lot of room in our skin list (not to mention loading times)
Skins made by Kali are no longer supported!
kali, yes! Pretty much. It won't show as a separate skin but we have it... in action here: http://dramione.org -- that skin is Clean but if you scroll ALLLL the way down you'll see an option to "Change style:"
However, we did run into some problems using the JavaScript in ALA. It worked but some of us kept getting style flickering. One of the pro bits about keeping it altogether is that some of the more savvy could change styles by view->style though (e.g. in FF).
I'm using a PHP method now: http://www.alistapart.com/articles/phpswitch/ But the code there is WAY outdated (like, it's using globals). If you can wait a bit, I can paste what I have ATM but right now I have to go tidy up my desks to work; otherwise, it should be relatively easy to implement if you un-global it. :p
archive:
site:
Available for skin/mod commission! π
