Saturday, May 25, 2024
 Popular · Latest · Hot · Upcoming
121
rated 0 times [  123] [ 2]  / answers: 1 / hits: 81339  / 12 Years ago, sun, april 22, 2012, 12:00:00

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



The documentation only mentions the default behaviour of pause: hover, if I change the pause argument to anything else then the carousel stops working altogether so I'm not sure how to disable this default behaviour.


More From » hover

 Answers
2

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


[#86074] Saturday, April 21, 2012, 12 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kerryoliviaa

Total Points: 221
Total Questions: 102
Total Answers: 117

Location: Sint Maarten
Member since Tue, Mar 29, 2022
2 Years ago
;