Abetta Couriers - 28 Mar 2024

London’s Ultra Low Emission Zone (ULEZ)

In a bold move to improve air quality, the Ultra Low Emission Zone (ULEZ) represents…

We use cookies to ensure that we give you the best experience on our website.

document.addEventListener('DOMContentLoaded', function () { const ticker = document.getElementById('ticker-list'); const ulElement = ticker.querySelector('ul'); const listItems = Array.from(ulElement.querySelectorAll('li')); listItems.forEach(item => { const clone = item.cloneNode(true); ulElement.appendChild(clone); }); let scrollAmount = 0; const speed = 1; // Adjust the speed of scrolling (higher is faster) function animateTicker() { scrollAmount += speed; if (scrollAmount >= ulElement.scrollWidth / 2) { scrollAmount = 0; // Reset scroll to create a seamless loop } ulElement.style.transform = `translateX(-${scrollAmount}px)`; requestAnimationFrame(animateTicker); } // Set initial styles ulElement.style.display = 'flex'; ulElement.style.whiteSpace = 'nowrap'; ulElement.style.willChange = 'transform'; ulElement.style.transform = `translateX(0px)`; // Start the animation requestAnimationFrame(animateTicker); });