CodeCanyon

CSS style switcher

CSS style switcher

Contact us. We'll get back to you ASAP!Subscribe to our items RSS feedFollow us and be the first to get new exciting items!

Features

  • perfect for CSS switching on WordPress – simple and secure
  • 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:
    <a href=”css/switcher.php?style=new-style.css”>switch it</a>

Advanced features

  • gzipping 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

Changelog

v1.1 - July 28th 2011
* important security update

v1.0 - January 4th 2011
* initial release

by
by
by
by
by
by