let slideTitles = document.querySelectorAll('.slide-title') let carouselItems = document.querySelectorAll('.carousel-item') let sliderLinks = document.querySelectorAll('.slider-link') let postDecriptions = document.querySelectorAll('.post-description') for(let i = 0; i < slideTitles.length; i++) { slideTitles[i].innerText = postData[i].postTitle //carouselItems[i].style.background = `linear-gradient(0deg, rgba(0,0,0,.45) 100%, rgba(0,0,0,0.21190483029149154) 37%, rgba(69,225,255,0) 71%), url("${postData[i].postImage}")` carouselItems[i].style.background = `linear-gradient(0deg, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.3990589985994398) 60%, rgba(0,0,0,0.1973783263305322) 100%), url("${postData[i].postImage}")` carouselItems[i].style.backgroundSize = 'cover' carouselItems[i].style.backgroundRepeat = 'no-repeat' carouselItems[i].style.backgroundPositionX = 'center' carouselItems[i].style.backgroundPositionY = '25%' sliderLinks[i].href = postData[i].postUrl if(postData[i].postType == 'page') { postDecriptions[i].innerText = postData[i].postExcerpt } } //background: rgb(0,0,0); //background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 40%, rgba(0,0,0,0.3253895308123249) 100%); const swiper = new Swiper(".mySwiper", { loop: true, pagination: { el: ".swiper-pagination", clickable: true, renderBullet: function (index, className) { // return '' + (index + 1) + ""; if(index == postData.length + 1){ return `
` } else { return `
0${index+1}

${postData[index].postTitle}

` } } }, navigation: { nextEl: ".swiper-button-next", prevEl: ".swiper-button-prev" }, autoplay: { delay: 8000, }, }); slideTitles[0].innerText = 'View The Miami Open 2023 Presented by Itaú Tournament Results' slideTitles[1].innerText = 'Sign Up To Learn When Miami Open 2024 Tickets Become Available' slideTitles[2].innerText = 'World-Class Dining at the 2023 Miami Open: Food, Beverages, and More' document.querySelectorAll('.mySwiper p')[0].innerText = 'View The Miami Open 2023 Presented by Itaú Tournament Results' document.querySelectorAll('.mySwiper p')[1].innerText = 'Sign Up To Learn When Miami Open 2024 Tickets Become Available' document.querySelectorAll('.mySwiper p')[2].innerText = 'World-Class Dining at the 2023 Miami Open: Food, Beverages, and More' document.querySelectorAll('.swiper-slide')[1].style.backgroundPosition = 'top' sliderLinks[1].href = '#' sliderLinks[1].innerText = 'SIGN UP' sliderLinks[1].addEventListener('click', function() { document.querySelector('.ticket-form-btn').click() })

Plan Your Visit

Casper Ruud backhand

Schedule

Activities

Dobel drinks

Food & Beverage

Parking

Parking & Transportation

Digital tickets

Digital Ticketing

Miami Open Campus

Campus Map

Explore

Download the TennisOne app for Miami Open live scores

Game • Set • Match

Top Moments at the 2023 Miami Open

https://www.miamiopen.com/photo-galleries/