Iné
37. ročník - Jesenný prechod Demiankou
Lipany
ne 11. okt · 8:00
Šport · Beh
nedeľa 11. októbra 2026
InfoPropozícieRegistráciaPrehľad registrovanýchVýsledkyVýsledky PDFNa stiahnutie
function eventTabSwitch(btn, tabId, skipUrlClear) {
var wrap = btn.closest(".event-tabs-wrap");
wrap.querySelectorAll(".event-tab-content").forEach(function(el) {
el.style.display = "none";
el.style.height = "0";
el.style.minHeight = "0";
});
wrap.querySelectorAll(".event-tab-btn:not(.inactive)").forEach(function(el) { el.classList.remove("active"); });
var activeTab = document.getElementById(tabId);
activeTab.style.display = "block";
if (tabId === "tab-propozicie") {
var propHasPdf = false;
if (propHasPdf) {
activeTab.style.height = "1200px";
activeTab.style.minHeight = "1200px";
} else {
activeTab.style.height = "auto";
activeTab.style.minHeight = "0";
}
} else if (tabId === "tab-info") {
var hasPdf = false;
if (hasPdf) {
activeTab.style.height = "1200px";
activeTab.style.minHeight = "1200px";
} else {
activeTab.style.height = "auto";
activeTab.style.minHeight = "0";
}
} else {
activeTab.style.height = "auto";
activeTab.style.minHeight = "0";
}
btn.classList.add("active");
// Zobraz aktuálnu záložku v URL (aby sa dal skopírovať priamy odkaz)
try { history.replaceState(null, "", window.location.pathname + window.location.search + "#" + tabId); } catch(e) {}
if (tabId === "tab-registracia") {
if (!skipUrlClear) {
try {
var url = new URL(window.location.href);
if (url.searchParams.has("regname") || url.searchParams.has("regevent") || url.searchParams.has("regid")) {
url.searchParams.delete("regname");
url.searchParams.delete("regevent");
url.searchParams.delete("regid");
history.replaceState(null, "", url.pathname + (url.search ? url.search : "") + url.hash);
}
} catch(e) {}
}
initRRReg();
}
if (tabId === "tab-prehlad") {
initRRPublish();
}
if (tabId === "tab-vysledky") {
initRRResults();
}
}
window.addEventListener("load", function() {
var hash = window.location.hash;
var params = new URLSearchParams(window.location.search);
// Ak je v URL parameter od raceresult (regname, regevent atď.) otvor registráciu
if (params.get("regname") || params.get("regevent") || params.get("regid")) {
var tab = document.querySelector("[onclick*=\"tab-registracia\"]");
if (tab && !tab.classList.contains("inactive")) {
eventTabSwitch(tab, "tab-registracia", true);
setTimeout(function() {
tab.scrollIntoView({behavior: "smooth", block: "start"});
}, 300);
}
return;
}
if (hash) {
var tabId = hash.replace("#", "");
var tab = document.querySelector("[onclick*=\"" + tabId + "\"]");
if (tab && !tab.classList.contains("inactive")) {
tab.click();
setTimeout(function() {
tab.scrollIntoView({behavior: "smooth", block: "start"});
}, 300);
}
}
});
img.wp-post-image {
max-width: 420px !important;
width: 100% !important;
height: auto !important;
display: block;
margin: 0 auto;
cursor: zoom-in;
transition: opacity 0.15s;
}
img.wp-post-image:hover {
opacity: 0.85;
}
#et-lightbox-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0,0,0,0.85);
z-index: 99999;
cursor: zoom-out;
align-items: center;
justify-content: center;
}
#et-lightbox-overlay.active {
display: flex;
}
#et-lightbox-overlay img {
max-width: 92vw;
max-height: 92vh;
object-fit: contain;
border-radius: 4px;
box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}
(function() {
function initLightbox() {
var imgs = document.querySelectorAll("img.wp-post-image");
imgs.forEach(function(img) {
img.style.cursor = "zoom-in";
img.addEventListener("click", function() {
var overlay = document.getElementById("et-lightbox-overlay");
var lbImg = document.getElementById("et-lightbox-img");
lbImg.src = img.getAttribute("data-src") || img.src;
overlay.classList.add("active");
});
});
var overlay = document.getElementById("et-lightbox-overlay");
if (overlay) {
overlay.addEventListener("click", function() {
overlay.classList.remove("active");
});
}
}
if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", initLightbox);
} else {
initLightbox();
}
})();
Organizátor
Časomiera PT
Iné
Lipany
ne 11. okt · 8:00
Prešov, Christiania
so 10. okt · 16:30
Breznička
so 10. okt
Rajecké Teplice
so 28. nov
Ružomberok
ne 11. okt
Rajecké Teplice
so 28. nov