0
我的旋轉木馬不能很好地傳送輪播。我不要這是問題bootstrap旋轉木馬不會使滑塊
我在GitHub上的代碼是
https://github.com/Mangulomx/campeonato-frontend
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
index.html文件
div class="container">
<br>
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
<li data-target="#myCarousel" data-slide-to="3"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="/ribbit/img/1.jpg" alt="Chania" width="460" height="345">
</div>
<div class="item">
<img src="/ribbit/img/2.jpg" alt="Chania" width="460" height="345">
</div>
<div class="item">
<img src="/ribbit/img/3.jpg" alt="Flower" width="460" height="345">
</div>
<div class="item">
<img src="/ribbit/img/4.jpg" alt="Flower" width="460" height="345">
</div>
</div>