Publisher review:Style Sheet Switcher 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. 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.
Style Sheet Switcher is a JavaScript script for HTML Tools scripts design by Dynamic Drive.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris