Is it possible to prevent the Bootstrap carousel pause on mouse hover and continue automatically cycling? Is it possible to prevent the Bootstrap carousel pause on mouse hover and continue automatically cycling? javascript javascript

Is it possible to prevent the Bootstrap carousel pause on mouse hover and continue automatically cycling?


I've found that a value of "false" will cause the carousel to keep cycling during a mouseover:

$('.carousel').carousel({    pause: "false"});

I am using Twitter Bootstrap v2.0.2


You can add this to the div .carousel too instead of using javascript.

Add delay time:

data-interval="3000"

Add if it pauses on hover or not, options are true and false

data-pause="false"

Example would be:

<div id="carousel" class="carousel" data-ride="carousel" data-interval="3000" data-pause="false">

This worked for me.


$('.carousel').carousel({        pause: 'none'    })

for Bootstrap v3.3.4