我想使用引導程序創建傳送帶,我使用網站的確切代碼,但它不旋轉幻燈片,幻燈片和div的位置不正確。我應該將哪些更改應用於引導代碼以使其工作? 使用引導程序創建傳送帶
enter code here
<div id="carousel-example-generic" class="carousel slide" data- ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item active">
<img src="..." alt="...">
<div class="carousel-caption">
...
</div>
</div>
...
</div>
<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
</a>
`enter code here`</div>
是否包含在jQuery和自舉文件? – Andrew
工作示例[http://jsfiddle.net/8LSz4/](http://jsfiddle.net/8LSz4/) – Akhlesh
@安德魯,是的,我已經包括他們 – Iatrochemist