risolto dal manuale :
ora come faccio animarlo da solo essendo che ho tolto i pulsanti start, stop , pause , next , back.codice:<h1 class="title_page">Benvenuti!</h1><div id="myCarousel" class="carousel slide"> <!-- Carousel indicators --> <ol class="carousel-indicators"> <li data-target="#myCarousel" data-slide-to="0" class="active"></li> <li data-target="#myCarousel" data-slide-to="1"></li> <li data-target="#myCarousel" data-slide-to="2"></li> </ol> <!-- Carousel items --> <div class="carousel-inner"> <div class="item active"> <img src="http://placehold.it/1140x500/ff0000/000000" alt="First slide"> </div> <div class="item"> <img src="http://placehold.it/1140x500/0000ff/000000" alt="Second slide"> </div> <div class="item"> <img src="http://placehold.it/1140x500/00ff00/000000" alt="Third slide"> </div> </div> <!-- Carousel nav --> <a class="carousel-control left" href="#myCarousel" data-slide="prev">‹</a> <a class="carousel-control right" href="#myCarousel" data-slide="next">›</a> <!-- Controls buttons --> </div> </div> <script> $(function(){ // Initializes the carousel $(".start-slide").click(function(){ $("#myCarousel").carousel('cycle'); }); }); </script>
grazie mille.

Rispondi quotando