View Full Version : CSS+Selectable Skins
Sikawtic
10-07-2006, 1:39 PM
Does anyone know where there is a guide for coding selectable skins for ones website? I'd prefer it be CSS only, but I guess if it includes some other language as well I'm up for it.
Thanks,
Sik
Does anyone know where there is a guide for coding selectable skins for ones website? I'd prefer it be CSS only, but I guess if it includes some other language as well I'm up for it.
Thanks,
Sik
Uhm as far as I know its only possible to "Switch" styles via javascript (or whatever, php and stuff works as well). You can't do it via CSS, since CSS isn't really that kind of a thing.
-Neo
Modred
10-09-2006, 11:08 AM
Yeah, I must echo what Neo has said. I've coded something like this using VBScript & ASP, and it wasn't anything difficult. Just a script to set a cookie when the user chooses a style, and then another script to handle getting the info from the cookie and using the right stylesheet. Took about...5-10 lines of code total, if I recall correctly.
Shouldn't be too difficult to implement using Javascript or other scripting language.
Yes, you'll need a JS component to achieve this.
I suggest this as a guide/download:
http://alistapart.com/articles/alternate/
Sikawtic
10-09-2006, 2:34 PM
Thanks much all, specially AJ, I like the guide ^_^
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.