2015-03-30 212 views
5

我無法將當前幻燈片和幻燈片總數顯示在slick.js幻燈片下方。謝謝你的幫助!!Slick.js顯示當前幻燈片和幻燈片總數

$('.recipeThumbs').slick({ 
    dots: true, 
    arrows: true, 
    slidesToShow: 4, 
    slidesToScroll: 4, 
    infinite: true, 
    responsive: [ 
    { 
     breakpoint: 768, 
     settings: { 
     dots: false, 
     arrows: true, 
     centerMode: true, 
     centerPadding: '40px', 
     slidesToShow: 2, 
     slidesToScroll: 1 
     } 
    }, 
    { 
     breakpoint: 480, 
     settings: { 
     dots: false, 
     arrows: true, 
     centerMode: true, 
     centerPadding: '40px', 
     slidesToShow: 1, 
     slidesToScroll: 1 
     } 
    } 
    ] 
    }); 

回答