Javascript TwitterBootstrap 3转盘不工作?

Javascript TwitterBootstrap 3转盘不工作?,javascript,jquery,html,twitter-bootstrap,carousel,Javascript,Jquery,Html,Twitter Bootstrap,Carousel,我似乎对Bootstrap的旋转木马有问题。我最后一次实现它是在使用Bootstrap 2.xx时。从2.xx示例代码页中剥离代码效果很好。但当我做同样的事情时,旋转木马似乎不起作用。没有滑动,什么也没有。我已经包括了Bootstrap3CDN和路径工作。我还在页面底部添加了Jquery,这是他们提供的代码,也是一个实时链接。 非常感谢您的任何解决方案/建议 谢谢 <!DOCTYPE html> <html lang="en"> <head>

我似乎对Bootstrap的旋转木马有问题。我最后一次实现它是在使用Bootstrap 2.xx时。从2.xx示例代码页中剥离代码效果很好。但当我做同样的事情时,旋转木马似乎不起作用。没有滑动,什么也没有。我已经包括了Bootstrap3CDN和路径工作。我还在页面底部添加了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>

维恩游戏
>

  • Bootstrap的JavaScript组件依赖于jQuery,因此必须在加载组件之前加载库

    从引导文档:

    插件依赖项

    一些插件和CSS组件依赖于其他插件。如果你 单独包含插件,确保检查这些插件 文档中的依赖项。还要注意,所有插件都依赖于jQuery (这意味着jQuery必须包含在插件文件之前)

    你的结尾部分没有理由看起来不象:

        </div>
    </div>
    <!-- Scripts-->
        <script src="http://code.jquery.com/jquery.js"></script>
        <script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/js/bootstrap.min.js"></script>
      </body>
    <html>
    

    Bootstrap的JavaScript组件依赖于jQuery,因此必须在加载组件之前加载库

    从引导文档:

    插件依赖项

    一些插件和CSS组件依赖于其他插件。如果你 单独包含插件,确保检查这些插件 文档中的依赖项。还要注意,所有插件都依赖于jQuery (这意味着jQuery必须包含在插件文件之前)

    你的结尾部分没有理由看起来不象:

        </div>
    </div>
    <!-- Scripts-->
        <script src="http://code.jquery.com/jquery.js"></script>
        <script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/js/bootstrap.min.js"></script>
      </body>
    <html>