Click to See Complete Forum and Search --> : CSS Skin Changer
dylanb
12-07-2003, 12:36 PM
On my site I would like to have a CSS skin changer, where there are option buttons, and by clicking on them you can easily change the CSS style of the page. For instance, it is first blue, then you go to the option button for Red, click it, and then click on the 'submit' button. Does anyone know how I could do this? Thanks!
rowlettskatescene.com
Paul Jr
12-07-2003, 01:25 PM
Peep this. (http://alistapart.com/articles/n4switch/)
David Harrison
12-08-2003, 03:49 AM
There is a pretty good example of a style switcher on this (http://www.apple.com/uk/ipod/) apple web-site.
The script for it is located here:
http://www.apple.com/uk/ipod/colorswitch.js
spufi
12-08-2003, 10:36 AM
A PHP version...
http://forums.webdeveloper.com/showthread.php?s=&threadid=17509
David Harrison
12-08-2003, 12:26 PM
Since we've moved onto server side here's an ASP version. It's up and running on one of my web-sites right now, but all of the style sheets are the same so you don't notice much. I have stripped the script down to just two possible styles but it's very easy to expand.
Vladdy
12-08-2003, 05:59 PM
See my customize wiget...