WorldWideScripts.net Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Miscellaneous

CSS style switcher

— Add-On to WorldWideScripts.net

Subscribe to our feed to stay up to date!

New! Follow us as you want it!


CSS style switcher - CodeCanyon Item for Sale

Ads

Ad: Bluehost hosting

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 


Download
Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers

Properties

Created:
4 January 11

Last Update:
N/A

High Resolution:
No

Compatible Browsers:
IE6, IE7, IE8, IE9, Firefox, Safari, Opera, Chrome

Files Included:
PHP

Software Version:
PHP 4.x, PHP 5.x, PHP 5.0 - 5.2, PHP 5.3, PHP 5.4

Keywords

eCommerce, eCommerce, All Items, css, css3, dynamic load css, multiple CSS files, php style switching, style switching