// Themeconfigurator
This commit is contained in:
1 parent
fb0118e456
commit
639a56421a
8 files changed
+44
-8
No files matched your search
@@ -30,6 +30,7 @@ $(document).ready(
|
||||
function()
|
||||
{
|
||||
$('#theme').val($(this).attr('class'));
|
||||
$(this).closest('form').submit();
|
||||
}
|
||||
);
|
||||
|
||||
@@ -80,5 +81,20 @@ $(document).ready(
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
$('#font').change(
|
||||
function()
|
||||
{
|
||||
$(document.body).css('font-family', $('#font option:selected').text());
|
||||
}
|
||||
);
|
||||
|
||||
$('#reset').click(
|
||||
function()
|
||||
{
|
||||
$('#theme').val('');
|
||||
$(this).closest('form').submit();
|
||||
}
|
||||
);
|
||||
}
|
||||
);
|
||||
Reference in new issue
Block a user