This is a demo page for the jQuery UI ThemeSwitcher Widget. Try it out!
NOTE: The code elements are editable, so if you want to give it a try, you can edit the code and click "Make it so!" to evaluate the javascript.
$('#theme-switcher').themeswitcher({
imageLocation:"css/images/"
});
$('#theme-switcher').themeswitcher({
imageLocation:"css/images/",
isThemable:true
});
$('#theme-switcher').themeswitcher({
themes:{
'My Theme':{
icon:'css/mytheme/mytheme.png',
css:'css/mytheme/jquery-ui-1.8.9.custom.css'
}
},
imageLocation:"css/images/"
});
$('#theme-switcher').themeswitcher({
themes:{
'My Theme':{
icon:'css/mytheme/mytheme.png',
css:'css/mytheme/jquery-ui-1.8.9.custom.css'
}
},
imageLocation:"css/images/",
useStandard:false
});
$('#theme-switcher').themeswitcher({
themes:{
'My Theme':{
icon:'css/mytheme/mytheme.png',
css:'css/mytheme/jquery-ui-1.8.9.custom.css'
}
},
imageLocation:"css/images/",
disableThemes:['ui-lightness','base','le-frog']
});
$('#theme-switcher').themeswitcher({
themes:{
'My Theme':{
icon:'css/mytheme/mytheme.png',
css:'css/mytheme/jquery-ui-1.8.9.custom.css'
}
},
imageLocation:"css/images/",
enableThemes:['ui-lightness','base','le-frog']
});
$('#theme-switcher').themeswitcher({
imageLocation:"css/images/",
onSelect:function(obj){$('#eventLog').append('<br/>onSelect() fired: '+obj.themeName)},
onOpen:function(obj){$('#eventLog').append('<br/>onOpen() fired: '+obj.themeName)},
onClose:function(obj){$('#eventLog').append('<br/>onClose() fired: '+obj.themeName)}
});
eventLog:
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.