Opens in a new tab
function updateHeaderHeight() {
        // Get the height of #brx-header
        const headerHeight = document.querySelector('#brx-header').offsetHeight;
          
        // Store the height in the CSS custom property --header-height
        document.documentElement.style.setProperty('--brxw-header-height', headerHeight + 'px');
    }

    // Execute the function as soon as the document is ready
    document.addEventListener('DOMContentLoaded', function() {
        updateHeaderHeight();  // Initial update of header height when the document is ready

        // Update the header height on window resize and orientation change
        window.addEventListener('resize', updateHeaderHeight);
        window.addEventListener('orientationchange', updateHeaderHeight);
});

Monday, October 14 2024, 8.52am

A 35-year-old motorcyclist was seriously injured in an accident that occurred early this morning on the traffic circle of the fairgrounds of Ibiza. The incident occurred at around 3.28 am on Sunday, as reported by the 061.

The injured, a resident of Ibiza, has been transferred in an ambulance 061 to the Hospital Can Misses with prognosis of severe polytrauma.

For the full article, please visit Diario de Ibiza website here.