Kultur

Veranstaltungen und Portait

Kultur


0) { function cOf() { eA_open = true; aEA(); co.forEach(e => e.removeEventListener("click", cOf)); } co.forEach(e => e.addEventListener("click", cOf)); co.forEach(e => e.addEventListener("keyup", function (e) {if (event.which === 13) cOf();})); } else { let t = document.createElement('Eye-Able'); t.setAttribute("id", "eA_Opener"); t.attachShadow({mode: 'open'}); //append after the first link that is not a jump to a landmark if(document.links.length > 0) { //check if the first link has an hash, which would indicate a jump to a landmark if(!document.links[0].hash) { //no hash document.body.prepend(t); } else { for (let i = 0; i < document.links.length; i++) { if(document.links[i].hash && document.links[i].baseURI.includes(window.location.hostname)) { //link with hash found! Place access after this one } else { if(i===0) { //make sure its not places at the end document.body.prepend(t); break; } else { //a link has been found without an hash. Place the access link right after the last link that had an hash document.links[i-1].after(t); break; } } } } } else { document.body.prepend(t); } let h = document.createElement('div'); if (window.innerWidth < 700) { eA_side = "right";} h.setAttribute("style", "position: fixed;top:" + eA_top + ";" + eA_side + ": 11px;z-index: 2147483648"); t.shadowRoot.appendChild(h); let ts = "left"; if(eA_side==="left") ts = "right"; let eA_fColor = "#fff"; //foreground color of the icon let s = '' + '' + '' + '
'; h.insertAdjacentHTML('beforeend', s); let o = h.querySelector("#i"); let m = h.querySelector("#t"); if(!sessionStorage.getItem('eyeAbleShow')) { setTimeout(() => m.style.display = "block",500); setTimeout(() => m.style.display = "none",4000); sessionStorage.setItem('eyeAbleShow', 'false'); } function x() { eA_open = true; aEA(); } if (window.innerWidth < 700) { h.style.top = "unset"; h.style.bottom = eA_bottom; o.style.width = "50px"; m.style.width = "240px"; m.style.left = "-297px"; m.style.top = "-50px"; m.children[0].style.fontSize = "19px"; if(navigator.userAgent.match(/SamsungBrowser/i)) m.children[0].style.fontSize = "17px"; m.children[1].style.fontSize = "14px"; m.children[2].style.fontSize = "14px"; //m.style.opacity = "0"; o.addEventListener("touchstart", () => { if(m.style.display === "block") x(); }); } else { o.addEventListener("click",x); } t.addEventListener("keyup", function (e) { if (event.which === 13) { x(); } }); o.addEventListener("mouseenter", function () { m.style.display = "block"; o.style.transform = "scale(1.1)"; }); o.addEventListener("focus", function () { m.style.display = "block"; o.style.outline = "3px solid black"; }); o.addEventListener("blur", function () { m.style.display = "none"; o.style.outline = "none"; }); h.querySelectorAll("#i,#t").forEach(e => e.addEventListener("mouseleave", function () { setTimeout(() => { if(!t.matches(':hover')){ m.style.display = "none"; } },1500); o.style.transform = "none"; })); //detect alt+1 and alt+f1 function k(e) { if(e.altKey){ if(e.key === "1" || e.key === "F1") { eA_open = true; aEA(); window.removeEventListener("keyup",k); if(e.key === "F1") { document.addEventListener("eyeable:init_completed", () => { eyeAble_toggleShortcutManPage(); }); } } } } window.addEventListener("keyup",k); } } if (document.readyState === "complete") { s(); } else { window.addEventListener('load', () => { s(); }); } }>