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

Friday, April 12 2024, 2.49pm

A 41-year-old man was injured on Thursday after crashing his motorcycle into a cab on Sant Jordi Avenue, in Ibiza. According to the Policlínica Nuestra Señora del Rosario, the accident took place at around 7:00 pm.

The man, of Uruguayan nationality, entered at about 7:43 p.m at the Polyclinic in charge of the Neurosurgery Unit with lumbar trauma and polycontusions.

An ambulance from the Policlínica Group and the Ibiza Local Police attended the scene of the accident.

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