| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| First Time Poster! Join Date: Jun 2004
Posts: 1
![]() | Theme Changer I am currently making my website and I would like to add a theme changer to it. For anyone who doesn't know, a theme changer is basically a link that allows the user to change the style of the current site. An example is ForceFX.net at the bottom right of the screen. Now, I know how to do it with just html and css (which is how they did it), but it would take forever (basically making five sites). I was wondering if there is another way to do this? Maybe some kind of scripting language or something. |
| |
| | #4 (permalink) |
| Guest
Posts: n/a
| I believe this wonderfully well written JavaScript style switcher will meet your interests. It works with standard style sheets and alternate style sheets (an existing standard recognized by Mozilla by default as a way of representing multiple styles) and adds the ability to control it through the site interface, storing their choice with a cookie. http://www.alistapart.com/articles/alternate/ |