Add canvas background switcher

A quick integration to make our minds on different backgrounds and ask
for feedback
This commit is contained in:
Vince
2013-06-14 13:16:18 +02:00
parent 919e2f8869
commit d34f24141a
7 changed files with 34 additions and 1 deletions

View File

@@ -70,6 +70,13 @@ $.namespace("pskl");
$('body').tooltip({
selector: '[rel=tooltip]'
});
$('#canvas-picker').change(function(evt) {
$('#canvas-picker option:selected').each(function() {
console.log($(this).val());
$('html')[0].className = $(this).val();
});
});
},
render : function (delta) {