GitXplorerGitXplorer
h

Super-Theme-Switcher

public
48 stars
16 forks
11 issues

Commits

List of commits on branch master.
Unverified
664a1cea3e691475b0a89fb415b67ef568e41127

Minify latest plugin

hharborhoffer committed 12 years ago
Unverified
ffdfc2f36c529326bfdbd1c9a7820793dfcc82a1

Update readme with new themePath option description

hharborhoffer committed 12 years ago
Unverified
acff306fc3d66deff8d6b9500218ddfb2dc8608e

Merge pull request #8 from cedricbrasey/master

hharborhoffer committed 12 years ago
Unverified
881a0649d60ce4eb1228ef6d9cb6e0e5da85230a

Allow for locally hosted themes

ccedricbrasey committed 12 years ago
Unverified
4108e053a4b270bf7ab9ca5d9663f1eb0d7dc1b7

Update minified plugin code

hharborhoffer committed 12 years ago
Unverified
5c51c1a7f70682efa9344f5db0b3d57afafd841b

Change stylesheet selector to no longer specify link type

hharborhoffer committed 12 years ago

README

The README file for this repository.

Super Theme Switcher is a jQuery plugin based on the original jQuery theme switcher that is no longer hosted or supported by the jQuery UI project.

Example:

$('#switcher').themeswitcher({
    imgpath: "images/",
	loadTheme: "dot-luv"
});

But since all parameters are optional you can just use it like this: $('#switcher').themeswitcher();

Options

  • imgPath: String, path to image directory where theme icons are located
  • rounded: Boolean, rounded corners on themeswitcher link and dropdown
  • themes: An array of theme objects that will override the default themes.
    [{title:"My theme",name:"my-theme",icon:"my-icon.png",url:"http://url-to-my-css-file.css"}]
  • additionalThemes: An array of theme objects that will be INCLUDED along with the default themes.
    [{title:"My theme",name:"my-theme",icon:"my-icon.png",url:"http://url-to-my-css-file.css"}]
  • jqueryUiVersion: String, jQuery UI version of themes (Default themes are linked from Google CDN)
  • themePath: String, Base path to where the jQuery UI CSS themes are located (Default is Google CDN)

Demo located here.

This plugin includes the awesome jQuery cookie plugin by Klaus Hartl found here

Contact

@davehoff