/** * Copyright 2021, 2024 5 Mode * * This file is part of Xslwiz. * * Xslwiz is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Xslwiz is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Xslwiz. If not, see . * * fileName.php * * Xslwiz description of the file. * * @author Daniele Bonini * @copyrights (c) 2016, 2024 5 Mode */ function setFooterPos() { if (document.getElementById("footerCont")) { tollerance = 16; $("#footerCont").css("top", parseInt( window.innerHeight - $("#footerCont").height() - tollerance ) + "px"); $("#footer").css("top", parseInt( window.innerHeight - $("#footer").height() - tollerance ) + "px"); } } window.addEventListener("load", function(){ setTimeout("setFooterPos()",500); });