I'm using Bootstrap and Bootstrap Carousel in a project.
I would like to know if there's any way to make the Carousel navigate to a specific slide.
For example, something like:
$('myCarousel').to(2);
Does anybody know a way to do this?
From the documentation:
.carousel(number) Cycles the carousel to a particular frame (0 based, similar to an array).
So I think it should be:
$('myCarousel').carousel(2);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With