$(function(){ var swiper = new Swiper('.swiper-container', { autoplay: { delay: 3000, stopOnLastSlide: false, disableOnInteraction: true, }, }); })