我正在嘗試將自舉3傳送帶實施到我的網站中,但是左右兩側的幻燈片按鈕無法正常工作,幻燈片點也是如此。任何人都可以在我的代碼中發現問題嗎?Twitter Bootstrap傳送帶按鈕無法正常工作
<!doctype html>
<html>
<head>
<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>
<script type="text/javascript" scr="js/bootstrap.js"></script>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<title>Test page! </title>
</head>
<body>
<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>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="img/deepcleaning1.jpg" alt="deepcleaning">
</div>
<div class="item">
<img src="img/deepcleaning2.jpg" alt="deepcleaning2">
</div>
</div>
<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</body>
</html>
你能發佈小提琴太 – Kushal
你可以試試這個''''''有一個機會,它沒有找到你的方式引用 –
檢查控制檯錯誤的方式一旦!!! –