ycSlider({ wrap: '.swiper-gdbb', dir: 'left', autoplay: 3500, speed: 400, navFn: function(index) { var gdbbContentLi = $('#gdbbContent li'); gdbbContentLi.eq(index).fadeIn().siblings().hide(); } }); ycSlider({ wrap: '.swiper-yl', dir: 'left', autoplay: 3500, speed: 400 }); ycSlider({ wrap: '.swiper-ty', dir: 'left', autoplay: 3500, speed: 400 });