/* Unbounce Community :: Tips & Scripts :: Carousel With A Box Widget TS:0002-04-063 *********************** Do not remove this section. It helps our team track useage of external workarounds. */ // jQuery 2.2.4 requierd // CDN link here - https://code.jquery.com/ $(function() { // Add a box to the page and nest the elements inside (can include boxes with grouped content) // The first element that is nested in the containing box will be what shows on page load // Add ID of box containing elements. var container = $("#lp-pom-box-12"); // Add the amount of time before the element switches. EX: 2000 = 2 seconds var time = 4000; // code to select and centre elements container.children().css({ 'top': '50%', 'left': '50%', 'transform': 'translate(-50%, -50%)' }); var allEls = container.children().not(":eq(0)"); var notFirst = allEls.not(":eq(0)"); notFirst.css('display', 'none'); // Function to cycle through the elements in the containing box and show/hide them function ShowEls(el, delay) { $(el[0]).fadeIn(600) .delay(delay) .fadeOut(600) .promise() .done(function() { var putBack = el.splice(0, 1); if (el.length >= 1) { ShowEls(el, delay); allEls.push(putBack[0]); } }); } ShowEls(allEls, time); });
1300 650 325
By providing your details, I agree to the Terms and Conditions and the Privacy Policy. By providing your details, you agree to be added to the Marvel Stadium electronic database and be contacted by Marvel Stadium regarding any services, offer or special promotions that are associated with, endorsed or approved by Marvel Stadium.
Marvel Stadium is operating under the guidance of the Department of Health and Human Services (DHHS), to find out about our COVID-Safe Venue Plan, click here.