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 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.
jQuery
twitter-bootstrap
- asked 8 years ago
- Gul Hafiz
1Answer
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
- answered 8 years ago
- Community wiki
Your Answer