In the last article i was talking about manual css switching. I got it ready by now, it didnt took too long. The part that took the most time was figuring out how to use javascript cookies, so that it will remember your stylesheet preference. If no style is set it will use style.css instead of style1.css or style2.css
Demo here
Download:
manual.html
style.css (default)
style1.css
style2.css
Enjoy this one!
TrackBack
TrackBack URL for this entry:
https://flx-tech.net/cgi-bin/mt/mt-tb.cgi/14
Comments
Great script! But, is there a way to change it so when the page loads with javascript disabled, a default css sheet be used?
Posted by: person | November 16, 2006 12:41 AM