You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
877 B
JavaScript

function togglemenu() {
let menu = document.getElementById("menu");
if (menu.style.display !== "none") {
menu.style.display = "none";
} else {
5 months ago
menu.style.display = "block";
}
}
window.addEventListener("DOMContentLoaded", function (e) {
var footerEl = document.querySelector(".annoying");
document.querySelector(".fn-close-cookies").addEventListener("click", (e) => {
e.preventDefault();
var pos = footerEl.getAttribute("position");
if(pos == "left") {
footerEl.setAttribute("position", "right")
} else {
footerEl.setAttribute("position", "left")
}
})
4 months ago
})
function closemodal(){
let modal = document.getElementById("modal");
if (modal.style.display !== "none") {
modal.style.display = "none";
} else {
modal.style.display = "block";
}
}