Info

Interactive Projection

Client:

Sunplaza

Agency:

Fieldstar

Our role:

Concept, Production, Directing, Motion Graphics, 2D, 3D animation, Sound Design

Date:

February 2020

let touchTimeout; const projectLinks = document.querySelectorAll('.project-item a'); projectLinks.forEach(link => { link.addEventListener('touchstart', function(e) { touchTimeout = setTimeout(() => { link.click(); }, 300); // Kašnjenje pre nego što se otvori stranica, 300ms }); link.addEventListener('touchend', function() { clearTimeout(touchTimeout); // Ako korisnik brzo otpusti, ne otvara se stranica }); });