jquery - Twitter Bootstrap Carousel: Slides All Showing Simultaneously -
i'm trying example carousel code bootstrap guide work on homepage, , reason, homepage ends displaying homepage contents once on top (with left , right arrows) , homepage contents again right under (also left , right arrows). clicking on left arrow , right arrow scrolls me top contents , bottom contents.
i've included bootstrap.js , jquery.js, in order. ideas on going wrong? here relevant html code:
<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 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> </div> <div> <img class="banner" src="/images/dataimage.jpg"> </div> <div class="container wrapper"> <div class="jumbotron "> <h1>moocrp</h1> <h2>...under development</h2> <a href="/user/login" class="btn btn-lg btn-success">login now!</a> </div> </div>
i've included bootstrap.js , jquery.js, in order.
try other way around :)
Comments
Post a Comment