gpt4 book ai didi

javascript - 在 lightSlider 中,单击缩略图后自动播放停止

转载 作者:行者123 更新时间:2023-11-28 06:52:26 26 4
gpt4 key购买 nike

使用这些选项:

$('.lightSlider').lightSlider({
item:3,
fourceAutoplay:true,
slideMargin:0,
thumbItem:3,
mode:'lg-fade',
speed:1500,
pause: 6000,
controls: false
})

当我单击缩略图时,动画会转到图像,然后停止。如何让它继续下去?

最佳答案

根据documentation ,没有 fourceAutoplay 选项(这里有错字?),您应该尝试使用 auto:

$('.lightSlider').lightSlider({
item:3,
auto: true,
slideMargin:0,
thumbItem:3,
mode:'lg-fade',
speed:1500,
pause: 6000,
controls: false
})

关于javascript - 在 lightSlider 中,单击缩略图后自动播放停止,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32838227/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com