【问题标题】:Slick.js display current slide and total num of slides [duplicate]Slick.js显示当前幻灯片和幻灯片总数[重复]
【发布时间】:2015-03-30 21:31:35
【问题描述】:

我无法在 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
      }
    }
    ]
  });

【问题讨论】:

    标签: jquery slick.js


    【解决方案1】:

    我实际上在另一个 stackoverflow 帖子上找到了我的问题的答案。这是它的链接:)

    Slick.js: Get current and total slides (ie. 3/5)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-22
      • 2011-09-11
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多