Michael99 Posted January 6 Share Posted January 6 Hi, Is there a way to auto play and auto loop a summary block carousel? Right now I have it auto playing but it doesn't auto loop. The code below is what I am using. Thank you. <script> window.onload = function() { var nextArrow = document.querySelector(".summary-carousel-pager-next"); function clickNext() { nextArrow.click(); } setInterval(clickNext, 3000); }; </script> Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment