Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 SlidesJS (sliedejs.com),当我将鼠标悬停在幻灯片上时,我希望幻灯片停止。为此,我设置hoverPause: true;并且它有效。唯一的问题是,当我停止将光标悬停在幻灯片上时,它不再移动。我必须重新加载页面才能使其再次工作。我显然想要的是在光标不在幻灯片上之后幻灯片继续工作。我一直在检查选项,但似乎没有任何效果。也许有人对此有技巧或类似的东西(或推荐的另一个幻灯片插件)。
hoverPause: true;
按照此处的建议设置暂停属性的值
hoverPause: true, pause: 4000