I have a running slider. I want this slider to auto run and onclick, Its working onclick. I just to make it work on auto run.
[Demo][1]
[1]: https://jsfiddle.net/fwbgy154/
I updated your fiddle.
https://jsfiddle.net/fwbgy154/1/
$('document').ready(function(){
// init slider
$('#cbp-fwslider').cbpFWSlider();
setInterval( function(){
if($('.cbp-fwnext').is(":visible")){
$('.cbp-fwnext').click();
}else {
$('.cbp-fwdots').find('span').click();
}
} ,3000 );
});
Slider is automatically sliding now.
Referred to this one -> Autoplay JQuery slideshow Using cbpFWSlider ..
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.