[tcb-script]
function adjustImageContainerHeight() {
var containers = document.querySelectorAll('.split-screen-image-container');
containers.forEach(function (container) {
var width = container.offsetWidth;
var height = width * (9 / 16); // For a 16:9 aspect ratio
container.style.height = height + 'px';
container.style.height = height + 'px';
});
}
// Adjust height on window resize
window.addEventListener('resize', adjustImageContainerHeight);
// Initial adjustment
window.addEventListener('load', adjustImageContainerHeight);
[/tcb-script]
© Xolvis GmbH 2024. All rights reserved.
Contato | Informações Legais | Proteção de Dados