Mercurial > dive4elements > website
view ocean_carousel.html @ 121:b142a13c7435
Make captions fit on smaller displays.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 02 Apr 2014 14:43:02 +0200 |
parents | 68f49d59b165 |
children | 1387a5add21d |
line wrap: on
line source
<div id="myCarousel" class="carousel slide" data-ride="carousel" data-interval="10000"> <ol class="carousel-indicators"> <li data-target="#myCarousel" data-slide-to="0" class="active"></li> <li data-target="#myCarousel" data-slide-to="1"></li> </ol> <!-- Carousel items --> <div class="carousel-inner"> <div class="item active"> <img src="img/gnv_profil.png" alt="Profilschnitt" class="img-responsive"> <div class="carousel-caption"> <p>Profilschnitt: klassifizierte Temperaturverteilung über die Tiefe in der Ostsee.</p> </div> </div> <div class="item"> <img src="img/gnv_karte.png" alt="Horizontalschnitt" class="img-responsive"> <div class="carousel-caption"> <p>Karte: Horizontalschnitt der Temperaturverteilung in Nord- und Ostsee</p> </div> </div> </div> <!-- Carousel nav --> <a class="left carousel-control" data-slide="prev" href="#myCarousel"><span class="glyphicon glyphicon-chevron-left"></span></a> <a class="right carousel-control" data-slide="next" href="#myCarousel"><span class="glyphicon glyphicon-chevron-right"></span></a> </div><!-- /myCarousel -->