Zum Inhalt springen

ZRK-HUB - Submit Entry

Please submit the content for your entry in the ZRK-HUB here. The scope of the fields depends on the package booked.

' + '' + '' + ''; } linkWrap.innerHTML = html; html = ""; for (i = 1; i ' + '' + '' + '' + '' + ''; } dokWrap.innerHTML = html; /* ---- Generate industry dropdowns (max. 6 slots) ---- */ var katWrap = document.getElementById("zrkhub-kategorien"); var optionen = ""; for (i = 0; i ' + BRANCHEN[i] + ""; } html = ""; for (i = 1; i ' + '"; } katWrap.innerHTML = html; var katFelder = katWrap.querySelectorAll("select[data-kat]"); /* Hide already selected industries in other fields */ function katSync() { var gewaehlt = {}, n, m, opts; for (n = 0; n = max ? " zrkhub-full" : (ist > max * 0.9 ? " zrkhub-warn" : "")); } desc.addEventListener("input", zaehle); /* ---- Package change ---- */ function anwenden() { var key = SCHLUESSEL[(select.value || "").toLowerCase()]; if (!key) { rest.hidden = true; info.style.display = "none"; return; } var p = PAKETE[key]; rest.hidden = false; info.style.display = ""; info.innerHTML = "Package " + p.name + " - " + p.hinweis + "
  • Description: max. " + p.zeichen.toLocaleString("de-AT") + " characters
  • " + "
  • Links: " + p.links + "
  • Industries: " + p.katText + "
  • " + "
  • Event calendar: " + p.termine + "
  • " + (p.dokumente ? "
  • Documents for download: " + p.dokumente + "
  • " : "") + "
"; desc.setAttribute("maxlength", p.zeichen); if (desc.value.length > p.zeichen) { desc.value = desc.value.substring(0, p.zeichen); } descHint.textContent = "Package " + p.name + " allows a maximum of " + p.zeichen.toLocaleString("de-AT") + " characters. Longer texts will be truncated."; zaehle(); document.getElementById("zrkhub-kat-limit").textContent = "(" + p.katText + ")"; slots(katWrap, p.kategorien); katSync(); document.getElementById("zrkhub-links-limit").textContent = "This package includes " + (p.links === 1 ? "1 link" : "up to " + p.links + " links") + "."; document.getElementById("zrkhub-termine-limit").textContent = "Included in this package: " + p.termine + "."; document.getElementById("zrkhub-dok-limit").textContent = p.dokumente === 1 ? "This package includes 1 document (PDF)." : "This package includes up to " + p.dokumente + " documents (PDF or ZIP)."; slots(linkWrap, p.links); slots(dokWrap, p.dokumente); bereich("dokumente", p.dokumente > 0); bereich("keywords", p.keywords); bereich("banner", p.banner); bereich("rechnung", p.rechnung); document.getElementById("zrkhub-subject").value = "ZRK-HUB Submission " + p.name; } select.addEventListener("change", anwenden); /* ---- Pre-select and lock package via URL ---- */ var param = (location.search.match(/[?&]paket=([^]*)/i) || [])[1] || ""; var vorgabe = SCHLUESSEL[decodeURIComponent(param).toLowerCase().trim()]; if (vorgabe) { select.value = PAKETE[vorgabe].name; anwenden(); var frei = /[?&]frei=1/i.test(location.search); if (!frei) { var n; for (n = select.options.length - 1; n >= 0; n--) { if (select.options[n].value && select.options[n].value !== PAKETE[vorgabe].name) { select.remove(n); } } select.classList.add("zrkhub-locked"); select.setAttribute("aria-readonly", "true"); document.getElementById("zrkhub-paket-hint").textContent = "This package is specified by the link sent to you."; } } /* ---- Validation ---- */ function markiere(el, ok) { if (ok) { el.classList.remove("zrkhub-err"); } else { el.classList.add("zrkhub-err"); } return ok; } form.addEventListener("submit", function (e) { var ok = true, erstes = null, pflicht, n, f; pflicht = [select, document.getElementById("zrkhub-org"), document.getElementById("zrkhub-name"), document.getElementById("zrkhub-email")]; for (n = 0; n The submission took longer than expected.
" + "Please check your email inbox for the confirmation of receipt. If none " + "arrives, please send your details directly to " + 'hub@zfrk.org.'); }, 20000); }); function zeigeFehler(html) { document.getElementById("zrkhub-fail-text").innerHTML = html; document.getElementById("zrkhub-fail").style.display = "block"; abgesendet = false; submitBtn.disabled = false; submitBtn.textContent = "Submit again"; document.getElementById("zrkhub-fail").scrollIntoView({ behavior: "smooth", block: "center" }); } /* ---- Success: Response arrives in the hidden iframe (no CORS required) ---- */ sink.addEventListener("load", function () { if (!abgesendet) { return; } clearTimeout(timer); /* On success, the service redirects to ?zrkhub=ok on this page - then the iframe is same-origin and readable. If the submission fails (e.g. SMTP error, 400/500), the iframe remains on the external domain and access throws an error. Without this check, a failure would also be displayed as "Thank you". */ var erfolg = false; try { erfolg = /[?&]zrkhub=ok/.test(sink.contentWindow.location.search); } catch (x) { erfolg = false; } if (!erfolg) { zeigeFehler("Your submission could not be transmitted.
```html

ZRK-Hub - Request Your Listing

Please complete the form below. We will then email you information on how to submit your logo and documents.

Thank you!

Please now click the link below to open your email application. Attach your logo (PNG, min. 800 px) and, if included in your package, the relevant documents, then send the email to us.

Send email to hub@zfrk.org

If the link does not work, please send the documents manually to hub@zfrk.org.

``` ```css .zrkhub-interactive{max-width:540px;margin:2rem auto;padding:1.5rem;border:1px solid #e0e0e0;border-radius:8px;background:#fafafa;font-family:system-ui,sans-serif} .zrkhub-interactive h2{margin-top:0} .zrkhub-interactive label{display:block;margin-top:1rem;font-weight:600} .zrkhub-interactive input,.zrkhub-interactive select{width:100%;padding:.5rem;margin-top:.25rem;font-size:1rem;border:1px solid #ccc;border-radius:4px} .zrkhub-interactive button{margin-top:1.25rem} .zrk-btn-primary{padding:.65rem 1.5rem;font-size:1rem;color:#fff;background:#005c8a;border:none;border-radius:4px;cursor:pointer} .zrk-btn-primary:hover{background:#00476b} .zrkhub-error{color:#b00020;margin-top:1rem} #zrkhub-done h3{color:#2e7d32} .zrkhub-hint{font-size:.85rem;color:#666} ``` ```javascript (function () { "use strict"; var root = document.getElementById("zrkhub-root"); var form = document.getElementById("zrkhub-form"); var errBox = document.getElementById("zrkhub-error"); var select = document.getElementById("zrkhub-paket"); form.addEventListener("submit", function (e) { e.preventDefault(); errBox.style.display = "none"; if (!select.value) { errBox.textContent = "Please select a package."; errBox.style.display = "block"; select.focus(); return; } try { if (typeof sessionStorage !== "undefined") { sessionStorage.setItem("zrkhub_paket", select.value); } } catch (ex) { errBox.innerHTML = ('Please try again. If the problem persists, please send ' + 'your details directly to ' + 'hub@zfrk.org - we will take care of it.'); return; } var org = document.getElementById("zrkhub-org").value.trim() || "Your Organisation"; var pkt = select.value || ""; var subject = "ZRK-HUB Documents - " + org + (pkt ? " (" + pkt + ")" : ""); var text = "Good day,\n\nPlease find attached the files for our ZRK-HUB submission:\n\n" + "Organisation: " + org + "\nPackage: " + pkt + "\n\n" + "(Please attach logo and documents to this email.)\n\nKind regards\n"; document.getElementById("zrkhub-mailto").href = "mailto:hub@zfrk.org?subject=" + encodeURIComponent(subject) + "&body=" + encodeURIComponent(text); document.getElementById("zrkhub-form-wrap").style.display = "none"; document.getElementById("zrkhub-done").style.display = "block"; root.scrollIntoView({ behavior: "smooth", block: "start" }); }); })(); ```