{% if upperColumnData is defined %}
{% if upperColumnData is not empty %}
<link rel="stylesheet" rel="dns-prefetch" type="text/css" href="https://unpkg.com/swiper@7.0.7/swiper-bundle.min.css" />
<script src="https://unpkg.com/swiper@7.0.7/swiper-bundle.min.js"></script>
<script>
window.addEventListener('load', function () {
//
setTimeout(function () {
//
for (let e of document.getElementsByClassName('swiper-slide')) {
e.style.display = "list-item";
}
//
new Swiper( '.swiper-container', {
loop: true,
autoplay: {
delay: 4000,
disableOnInteraction: false,
},
speed: 400,
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
pagination: {
el: '.swiper-pagination', clickable: true
},
scrollbar: {
el: '.swiper-scrollbar',
},
slidesPerView: 1
} );
}, 250);
});
</script>
{% endif %}
<div id="topImage" style="margin-top: 10px;">
{{ upperColumnData | raw }}
</div>
{% endif %}