I've been trying to think of a way to restart a setInterval after
clearInterval has ran and say 1 minute has passed.

Anyone have any ideas or examples on this?

Here is snippet of code:

if (o.auto) {
        sliderIntervalID = setInterval(function(){
                if(u===false) {$.animate('next',true);}
        }, o.auto);
}

$('.next, .'+container+'').click(function(){
        if(u===false) {
                $.animate('next',true);
                if(o.auto){clearInterval(sliderIntervalID);}
        }
        return false;
});

Reply via email to