64x64 icon dark hosting
Choose a hosting plan here and get a free year's subscription to Tuts+ (worth $180).
Advertisement

Quick Tip: How to Create a Theme-Switcher in 200 Seconds

by
Gift

Start a hosting plan from $3.92/mo and get a free year on Tuts+ (normally $180)

Have you ever seen sites that offer some kind of "color-switcher" within the header section? Want to know how easy it is to replicate? I'll show you in 200 seconds, using jQuery.


The Screencast

Granted, this is a very simple example. What more do you expect in 200 seconds! :) But, this can easily be extended to import new stylesheets, if you wish.

The Final jQuery

Conclusion

I had to zoom through this screencast, so feel free to discuss/ask questions in the comments! I hope you enjoyed it! Are you liking the "two-a-week" quick tips that all of the Tuts sites are now doing?

Advertisement