2015-06-27 10 views
1

我經常使用bxslider,但是,當我嘗試將它放入現有網頁時,它會顯示'1''2''3 ''next''prev' 我已經刪除了'next'和'prev'。但是,「1」「2」和「3」(指3張滑動圖片仍顯示在頁面如何在BXSLIDER中刪除'1''2'3''next''prev'

example page with this problem

<script type="text/javascript"> 
     $(document).ready(function(){ 
     $('.bxslider').bxSlider({ 
      speed: 3000, 
      controls: false, 
      auto: true, 
      autoControls: false, 
      touchEnabled: true 
      }); 
     }); 
     </script> 

回答

3

,因爲它說in the docs,你需要禁用尋呼機:

pager: false 

製作完整的呼叫是這樣的:

$('.bxslider').bxSlider({ 
     speed: 3000, 
     controls: false, 
     auto: true, 
     autoControls: false, 
     touchEnabled: true, 
     pager: false // <------- 
     }); 
    }); 
+0

謝謝你,這使得它的工作 – Richard

+0

不客氣。確保你知道bxslider可以做什麼,特別是因爲你經常使用它。 – Shomz