forked from ZwiiCMS-Team/ZwiiCMS
10.1 toutjours afficher backtotop dans body
This commit is contained in:
parent
1475ff30fa
commit
902d70a663
@ -10,6 +10,13 @@
|
||||
* @link http://zwiicms.com/
|
||||
*/
|
||||
|
||||
/**
|
||||
* Affichage de l'icone de remontée et permettre l'aperçu.
|
||||
*/
|
||||
$(document).ready(function(){
|
||||
$("#backToTop").css("display","show");
|
||||
});
|
||||
|
||||
/**
|
||||
* Aperçu en direct
|
||||
*/
|
||||
@ -24,8 +31,8 @@ $("input, select").on("change", function() {
|
||||
else {
|
||||
css += "body{background-image:none}";
|
||||
}
|
||||
css += '#backToTop {background-color:' + $("#themeBodyToTopBackground").val() + ';color:' + $("#themeBodyToTopColor").val() + ';}';
|
||||
|
||||
css += '#backToTop {background-color:' + $("#themeBodyToTopBackground").val() + ';color:' + $("#themeBodyToTopColor").val() + ';}';
|
||||
|
||||
// Ajout du css au DOM
|
||||
$("#themePreview").remove();
|
||||
$("<style>")
|
||||
@ -42,4 +49,5 @@ $("#themeBodyImage").on("change", function() {
|
||||
else {
|
||||
$("#themeBodyImageOptions").slideUp();
|
||||
}
|
||||
}).trigger("change");
|
||||
}).trigger("change");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user