Team:TU-Eindhoven/Template:Carousel
From 2013.igem.org
(Difference between revisions)
Pascalaldo (Talk | contribs) |
Pascalaldo (Talk | contribs) |
||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | <div id="myCarousel" class="carousel slide | + | <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">›</a> | <a class="right carousel-control" href="#myCarousel" data-slide="next">›</a> | ||
</div> | </div> | ||
+ | <script> | ||
+ | $('.carousel').carousel({ | ||
+ | interval: 2000 | ||
+ | }) | ||
+ | </script> | ||
</html> | </html> |
Revision as of 11:45, 21 September 2013