Getting with the style switcher

In: Web development

11 Aug 2003

I’ve always been fascinated with JavaScript-based style switchers, like those at A List Apart and Netscape DevEdge. It’s fun to have a (limited) amount of customizability, without having to reload the webpage like those done using server-side scripting. It’s like a shiny toy for your users to play.

I got myself one of those using Paul Sowden’s Style Switcher and following the (simple) instructions at his A List Apart tutorial entitled “Alternative Style: Working With Alternate Style Sheets“.

And so, redemption in a blog now sports a new Default style and a Clean style, along with the Original style.

2 Responses to Getting with the style switcher

Avatar

Anonymous

August 13th, 2003 at 9am

Can the size also be customized?

Avatar

Cheah Chu Yeow

August 13th, 2003 at 12pm

The size? Did you mean the font size?

Yes it can be changed. You can do it the same way by defining an alternate stylesheet with just the font sizes changed.