Bootstrap JavaScript Carousel Doesn’t Stop Cycling

You might want to try removing the “pause” attribute. It’s not necessary if you are not automatically cycling through the images. My assumption (and I’m going to look at the bootstrap code to verify) is that when the “mouseleave” event fires, the cycling resumes — even if it was turned off in the first place. When it resumes, it uses the default speed.

Here is a solution:

$(function() {
    $('.carousel').each(function(){
        $(this).carousel({
            interval: false
        });
    });
});​

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)