
Učitavanje stranice...

Učitavanje stranice...

Priprema putovanja — Suradnja i podrška U pripremi putovanja surađujemo s brojnim osobama i institucijama od značaja za naš rad. To su, među ostalima, rukovodstvo grada Splita i Charlottenburg-Wilmersdorfa, turistike zajednice, naši prijatelji – bivši dužnosnici u Berlinu, kao i Veleposlanstvo Republike Hrvatske. Ne manje važni su i povoljan smještaj te odgovarajući prijevoz. × /* Varijable i temeljni stilovi */:root /* ŠIRINA: fluidno, veća iskoristivost, manji boni padding */.et_pb_section/* Naslov i opis *//* Galerija – sve ploice KVADRAT, rasterećen padding *//* Gallery item buttons *//* Ujednaene dimenzije slika */:focus-visible /* Lightbox */ od $imageData.length`); dot.addEventListener('click', => index = i; lbImg = imageDataindex.src; lbImg = imageDataindex.alt; updateDots;); dotsWrap.appendChild(dot);); // Otvaranje klikom i tipkama galleryItems.forEach((item, i) => item.addEventListener('click', => openLB(i)); item.addEventListener('keydown', (e) => if (e === 'Enter' || e === ' ') e.preventDefault; openLB(i););); // Kontrole closeBtn.addEventListener('click', closeLB); lb.addEventListener('click', (e) => if (e === lb) closeLB;); nextBtn.addEventListener('click', (e) => e.stopPropagation; show(+1);); prevBtn.addEventListener('click', (e) => e.stopPropagation; show(-1);); // Tipkovnica document.addEventListener('keydown', (e) => if (lb === 'flex') if (e === 'Escape') closeLB; else if (e === 'ArrowRight') e.preventDefault; show(+1); else if (e === 'ArrowLeft') e.preventDefault; show(-1);); // Touch swipe lbImg.addEventListener('touchstart', (e) => startX = e.touches0.clientX;, lbImg.addEventListener('touchend', (e) => if (startX === null) return; dx = e - startX; if (Math.abs(dx) > 40) if (dx > 0) show(-1); else show(+1); startX = null;, // Sigurnosno logiranje pogreške slike lbImg.addEventListener('error', => console.error('Greška pri uitavanju ););.