Alternating Stylesheets

For a while now, I’ve been considering implementing alternate style sheets. Today while browsing around on google, I discovered a nice javascript file that will really help me out in this task.

For users of Firefox, this script really isn’t necessary. You can simply go to View, Page Style then select the stylesheet that use you wish to use. However if you’re a user of MSIE, this option isn’t available. Having seen a few websites around javascript to do this task, I figured rather than spend hours trying to reinvent the wheel I’d just grab one of these.

I particularly liked this one because it made sure it worked for all browsers, and it stores a cookie so that the preference is saved. All I have to do now is tie that into the database system, and I’m set. Not to mention make some new style sheets…


Tags: ,

  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

One Response to “Alternating Stylesheets”

  1. Capricorn says:

    I am very thankful to this topic because it really gives great information :~

Leave a Reply