【发布时间】:2013-10-12 13:55:16
【问题描述】:
Fotorama 滑块:滑块设置为 Autoplay="true",效果很好。如何让滑块在鼠标悬停时暂停,然后在鼠标移出时恢复自动播放?这是我的代码:
<div class="fotorama" data-width="1170" data-ratio="1170/374"
data-max-width="100%" data-autoplay="true" data-autoplay="3000"
data-stopautoplayontouch="false">
【问题讨论】:
-
如果我将 data-stopautoplayontouch="false" 设置为 "true",滑块将在鼠标悬停时暂停,但不会在鼠标移出时恢复。
标签: jquery slider mouseover autoplay fotorama