Team:TU-Eindhoven/Template:Carousel

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
               <div id="myCarousel" class="carousel slide" data-interval="20000">
+
               <div id="myCarousel" class="carousel slide">
                 <ol class="carousel-indicators">
                 <ol class="carousel-indicators">
                   <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
                   <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
Line 32: Line 32:
                 <a class="right carousel-control" href="#myCarousel" data-slide="next">&rsaquo;</a>
                 <a class="right carousel-control" href="#myCarousel" data-slide="next">&rsaquo;</a>
               </div>
               </div>
 +
<script>
 +
$('.carousel').carousel({
 +
  interval: 2000
 +
})
 +
</script>
</html>
</html>

Revision as of 11:45, 21 September 2013