CSS style switcher (Miscellaneous)

Features

  • absolutely no PHP editing needed!
  • 5 seconds, 3 step setup (see below)
  • created for designers
  • support for multiple CSS files in single HTML
  • ideal for showcasing your work with multiple color schemes
  • faster than JS based switching
  • unlike JS based switching not prone to bugs; doesn’t interfeer with other JS code
  • extensive user-friendly documentation and examples

5 seconds, 3 step setup

  1. Copy switcher.php to your CSS folder
  2. Replace the CSS include statement with the new one:
    <link rel=”stylesheet” href=”css/switcher.php?default=mystyle.css” type=”text/css” />
  3. Create some links for style switching:
    css/switcher.php?style=new-style.css

Advanced features

  • gziping of outputted CSS (on by default)
  • default CSS file setup via GET parameter and PHP variable
  • automatic and custom URL to which user get’s redirect after CSS switch is made
  • cookie expiration time – session (default), hour, day, week, month, year, or custom
  • support for unlimited number of switchable CSS files in a single HTML , all switchable with one click

Download CSS style switcher (Miscellaneous)

Leave a Reply

Your email address will not be published. Required fields are marked *