我似乎在使用 Bootstrap 的轮播时遇到问题。我最后一次实现一个是在我使用 Bootstrap 2.xx 的时候。从 2.xx 示例代码页翻录工作正常。但是当我这样做时,轮播似乎不起作用。不滑动,什么都没有。我已经包含了 Bootstrap 3 CDN 并且路径有效。我还在页面底部包含了 Jquery,他们提供了代码,它仍然是一个实时链接。非常感谢任何解决方案/建议。
谢谢
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Veyern Gaming</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">>
<link rel="stylesheet" href="css/style.css"/>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<!--Navbar-->
<div class="navbar">
<ul class="nav navbar-nav">
<li class="active"><a href="/index.html>Home</a></li>
<li><a href="">Forum</a></li>
<li><a href="">Vote</a></li>
<li><a href="">Store</a></li>
<li><a href="">Stats</a></li>
</ul>
</div>
<!--Image Slider-->
<div id="carousel-example-generic" class="carousel slide">
<!-- 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="http://placehold.it/300x100" alt="">
</div>
<div class="item">
<img src="http://placehold.it/300x100" alt="">
</div>
<div class="item">
<img src="http://placehold.it/300x100" alt="">
</div>
</div>
<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
<span class="icon-prev"></span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
<span class="icon-next"></span>
</a>
</div>
</div>
<!-- Scripts-->
<script src="http://code.jquery.com/jquery.js"></script>
</body>
<html>