当我单击幻灯片3的菜单时,如何按组同时制作所有旋转木马内部幻灯片?
我尝试使用自举轮播来同时控制所有项目幻灯片,但我发现它对我不起作用。有人知道吗?
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Carousel indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="1">slide 2</li>
<li data-target="#myCarousel" data-slide-to="2">slide 3</li>
</ol>
<!-- Wrapper for carousel items -->
<div class="carousel-inner">
<div class="carousel-item active">
<img src="images/slide4.png">
</div>
<div class="carousel-item">
<img src="images/slide5.png">
</div>
<div class="carousel-item">
<img src="images/slide6.png">
</div>
</div>
<div class="carousel-inner">
<div class="carousel-item active">
<img src="images/slide7.png">
</div>
<div class="carousel-item">
<img src="images/slide8.png">
</div>
<div class="carousel-item">
<img src="images/slide9.png">
</div>
</div>
</div>