A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Can I use two bootstrap carousels on a single page?

Best Answers

Change the href in your carousel nav links to match the id value of the carousel you're controlling. That href value is how bootstrap determines which to slide. read more

Sure you can use many carousels in one page. The only thing you should change is the ID and href. read more

Problem: For two bootstrap carousels to work on a page, basically, I need to set two different IDs for their div containers (#carousel-1 and #carousel-2). But I've noticed that the carousels do not work unless I use #myCarousel as the ID of the div container. read more

I think you can just initialize them all using the class name, like so: $('.carousel').carousel({ interval: 10000 }); But you may want to test that. read more

Encyclopedia Research

Related Question Categories

Image Answers

A Bootstrap multi item carousel template - A-Z Tech
Source: jquery-az.com

Further Research