Bootstrap数据间隔出现故障

时间:2016-12-26 17:31:52

标签: javascript

我在data-interval时间内收到错误消息。尽管我设置为5000000 ...毫秒,它只是幻灯片太快了...... 无法找到解决方案...任何想法都会有所帮助谢谢!

<div class="Slideshow">
  <div id="carusel-example" class="carousel slide" data-ride="carousel" data-interval="50000000">
    
    <ol class="carousel-indicators">
      <li data-target="#carousel-example" data-slide-to="0" class="active"></li>
      <li data-target="#carousel-example" data-slide-to="1"></li>
      <li data-target="#carousel-example" data-slide-to="2"></li>
    </ol>
  
  <!-- Wrapper for slides -->
    <div class="carousel-inner" role="listbox">
      <div class="item active">
        <img src="assets/img/1.jpg" alt="immagine1">
      </div>

      <div class="item">
        <img src="assets/img/2.jpg" alt="immagine2">
      </div>
    
      <div class="item">
        <img src="assets/img/3.jpg" alt="immagine3">
      </div>

      
   </div>
  </div>
</div>

0 个答案:

没有答案