gestion footeré
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit

This commit is contained in:
2023-09-13 17:21:06 +02:00
parent 3908287e78
commit 66fd7e275d
12 changed files with 3898 additions and 3620 deletions

View File

@ -44,6 +44,8 @@ $( window ).resize(function() {
function resize() {
console.log("resize");
if($("#header").is(":visible")){
$(".navbar-logo").hide();
$("#menulink").hide();
@ -55,8 +57,13 @@ function resize() {
$("#header").show();
}
$("main").css("height",$(window).height()-$(".header").height());
$("#page").css("height",$(window).height()-$(".header").height());
var footerheight=$("footer").height();
if(footerheight) footerheight=footerheight+10;
else footerheight=0;
console.log(footerheight);
$("main").css("height",$(window).height()-$(".header").height()-footerheight);
$("#page").css("height",$(window).height()-$(".header").height()-footerheight);
$("#sidebar").css("min-height",$("body").height()-$(".header").height());
}