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);
});

Wednesday, September 27 2023, 7.24am

A 35-year-old Argentine woman tragically died after being hit by a car on a pedestrian crossing in Ibiza. The driver initially fled but later surrendered to the police. The victim suffered severe injuries and passed away at a local hospital. This incident raises the total road fatalities in the Pitiusas region to 15 this year, almost double the previous year. The driver faces charges of negligence and leaving the accident scene, with negative alcohol and drug test results. For the full article, please visit Diario de Ibiza website here.