10400 #3

Merged
lapervenche merged 18 commits from ZwiiCMS-Team/ZwiiCMS:10400 into 10400 2021-02-09 20:02:50 +01:00
1 changed files with 9 additions and 0 deletions
Showing only changes of commit 2935a4dd8e - Show all commits

View File

@ -21,6 +21,15 @@ $(document).ready(function(){
* Aperçu en direct
*/
$("input, select").on("change", function() {
// Option fixe pour contain et cover
var themeBodyImageSize = $("#themeBodyImageSize").val();
if(themeBodyImageSize === "cover" ||
themeBodyImageSize === "contain" ) {
$("#themeBodyImageAttachment").val("fixed");
}
// Couleur du fond
var css = "html{background-color:" + $("#themeBodyBackgroundColor").val() + "}";
// Image du fond