Javascript 如何停止bjqs滑块
我正在用这个。goTo是我用来启用和禁用键盘导航的标志。我的问题是滑块是自动旋转的,我想停止它。我想Javascript 如何停止bjqs滑块,javascript,jquery,html,bjqs,Javascript,Jquery,Html,Bjqs,我正在用这个。goTo是我用来启用和禁用键盘导航的标志。我的问题是滑块是自动旋转的,我想停止它。我想 $(document).ready(function (){ function init_slider() { $('#date_ss').bjqs({ animtype: 'fade', autoplay: autoPlay, animduration: -1, animsp
$(document).ready(function (){
function init_slider() {
$('#date_ss').bjqs({
animtype: 'fade',
autoplay: autoPlay,
animduration: -1,
animspeed: 4000,
height: 'auto',
width: 900,
keyboardnav: goTo,
responsive: false,
showcontrols: false,
showmarkers: false,
centercontrols: false
});
}
init_slider();
});
将解决问题
在这个bjqs滑块(bjqs-1.3.js)中,我们可以看到以下声明:
automatic : false
修改代码
automatic : false, // enable/disable automatic slide rotation
})) 您好,您的要求是停止此bjqs滑块的自动旋转功能..对吗?是的,您是对的。我想停止bjqs滑块的自动旋转功能@Jacky Coolant“自动:错误”谢谢它正在工作@Jackycoogani如果它起作用,那么你可以接受答案。。
$(document).ready(function (){
function init_slider() {
$('#date_ss').bjqs({
animtype: 'fade',
autoplay: autoPlay,
automatic: false,
animduration: -1,
animspeed: 4000,
height: 'auto',
width: 900,
keyboardnav: goTo,
responsive: false,
showcontrols: false,
showmarkers: false,
centercontrols: false
});
}
init_slider();