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.
|
|
|
|
|
|
|
function togglemenu() {
|
|
|
|
let menu = document.getElementById("menu");
|
|
|
|
if (menu.style.display !== "none") {
|
|
|
|
menu.style.display = "none";
|
|
|
|
} else {
|
|
|
|
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")
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|