Simple check to add background
by 8ogdan
HTML
<ul>
<li><label for="Lines">Adauga background: </label><input type="checkbox" id="Lines" name="Lines" /></li>
</ul>
JavaScript
$(function(){
$('#Lines').on('change', function(){
if ($(this).is(':checked'))
{
$("body")
.css({
'background': 'url(https://image.freepik.com/free-vector/colorful-abstract-background_23-2147886956.jpg) no-repeat'
});
}
else $("body").css({'background':''});
});
});