Style Sheet Switcher Script

Category: JavaScript - Miscellaneous

This script is a "plug & play" style sheet switcher that lets your visitors switch between a list of alternative style sheets to apply to your site. With a change of style sheet the entire look of your site can be transformed. Persistent cookies are used to store the user's selection and automatically recall that style sheet upon his return. Here's a summary of the script's features: - Plug and play installation. Simply define on your page a list of selectable style sheets (using: ), and that's it. The script automatically makes each of these external style sheets selectable by the user, dynamically applying the style sheet to the page while disabling any previously active alternate styles. - One main style sheet, many secondary ones. The script lets you maintain a primary style sheet on the page that is never disabled while letting the user choose from a list of alternate style sheets to add to the page. This lets you build off of your main style sheet with the alternate ones, so the later merely contain rules that are new or modified from the main one. - Customizable memory duration. Specify exactly how long you want the user's style selection to be remembered, in days, whether it's 5 days, or 180 days. Once this period has expired, the style sheet reverts back to the default one for that user. Uses site wide cookies for persistence across entire site. - Indicate currently active alternate stylesheet. If you're using radio buttons or a select menu as the interface for choosing an alternate style sheet, this script can automatically check/select the radio button/select option on the page that corresponds to the currently applied alternate style sheet. - Auto apply random stylesheet instead. Instead of letting the user manually select an alternate stylesheet to use, this script can instead randomly pick from your list of secondary stylesheets and apply one to the page automatically. Three different randomized settings are supported: "eachtime", "sessiononly", or "x days" to let you fine tune exactly how the random feature behaves. Date: 02 February, 2012


Style Sheet Switcher - Css Tool - Dynamic CSS Changer - Style - Sheet - Switcher

Homepage: http://www.dynamicdrive.com

Developer: dynamicdrive.com

License: Freeware

Operating System: Windows, Linux, Mac OS, BSD, Solaris

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

This script contains three functions, one to return a CSS style object, one to create a new CSS rule, and one to delete a CSS style object.

developer Developer: javascriptsource.com
license License: Freeware
operating systems Operating System: All


Styles Script shows you a quick and easy way to implement different skins for your site.

developer Developer: rampantstudios.com
license License: Freeware
operating systems Operating System: All


HateML Pro is freeware product and a powerful PHP IDE with support for XHTML and CSS for both professional and novice users alike.

developer Developer: migajek.bravehost.com
license License: Freeware
operating systems Operating System: All


This script allows you to conditionally apply two different style sheets to your page depending on whether the user's Operating System is Mac or PC (default).

developer Developer: dynamicdrive.com
license License: Freeware
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


This script splits an input HTML file into multiple slides which are then presented using CSS.

developer Developer: rot13.org
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


Vavoom is Doom/Heretic/Hexen/Strife source port.

developer Developer: vavoom-engine.com
license License: GNU General Public License (GPL)
operating systems Operating System: 32-bit MS Windows (95/98), All 32-bit MS Windows (95/98/NT/2000/XP), All POSIX (Linux/BSD/UNIX-like OSes), Linux, MS-DOS


A Privateer style game with Wing Commander ships, set in the Wing Commander Universe.

developer Developer: wcuniverse
license License: GNU General Public License (GPL)
operating systems Operating System: 32-bit MS Windows (NT/2000/XP), All BSD Platforms (FreeBSD/NetBSD/OpenBSD/Apple Mac OS X), OS Independent (Written in an interpreted language)


Scrollable content script creates a dynamic content scrollable box.

developer Developer: dynamicdrive.com
license License: Freeware
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


This script allows you to conditionally apply two different style sheets to your page depending on whether the user's Operating System is Mac or PC (default).

developer Developer: dynamicdrive.com
license License: Freeware
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris