$next.on('click',function(){
//清除定时器
clearInterval(t);
//执行一次下一张轮播图的播放
setTimeout(next);
//执行一次下一张轮播图的播放后执行轮播
setTimeout(t=window.setInterval( next, delay ),delay);
});
How to add a limit to this click event, and you have to wait 5 seconds before clicking