我正在使用JB Full width滑块,这是我的代码:
$(document).ready(function(){
JBFWS = new JBFWS();
JBFWS.init({
/* Slider Width & Height */
width : "100%",
height : "430px",
/* Buttons settings */
showBigButtons : 1, /* 0 - Hide, 1 - Show */
showSmallButtons : 1, /* 0 - Hide, 1 - Show */
/* Main Slide */
slideSpeed : 1000, /* miliseconds */
slideEffect : "easeInOutExpo",
/* Secondary Slide */
slideDelay : 600, /* miliseconds. 0 - Off */
slideSpeed2 : 1000, /* miliseconds. 0 - Off */
slideEffect2 : "easeOutExpo",
/* Drag Slide */
dragSlide : 1, /* 0 - Off, 1 - On */
/* Auto Slide */
autoSlide : 0, /* 0 - Off, 1 - On */
autoSlideDelay : 6000 /* miliseconds */
});
});
如何调用它,但稍后如果单击链接或调用函数,则将dragSlide设置为0?