我正在嘗試實施Twitter Bootstrap傳送帶和選項卡。它們在初始加載時都看起來運行正常,但只要我點擊其中一個傳送帶箭頭,內容就會消失(活動類將被刪除並且顯示設置爲無)。任何人都可以看到問題可能是什麼? sample page(看看新聞框在屏幕的右下角)如何在Twitter中結合選項卡和傳送帶Bootstrap
回答
控制環節是指#news-box
:
<!-- Carousel nav -->
<a class="carousel-control left" href="#news-box" data-slide="prev">‹</a>
<a class="carousel-control pause-play pause" href="#news-box"></a>
<a class="carousel-control right" href="#news-box" data-slide="next">›</a>
但是你的旋轉木馬沒有id
:
<div class="carousel slide">
與嘗試:
<div class="carousel slide" id="news-box">
Awseome,謝謝你。然而,儘管最初的問題已經解決,但看起來輪播不再有效。任何想法還有什麼可能會丟失? – farjam
你不能同時玩轉盤。積極的人應該在玩,而另一個應該暫停。請參閱:https://github.com/twitter/bootstrap/issues/1887 –
類似問題:http://stackoverflow.com/questions/11585123/jquery-carousel-stuck-twitter-bootstrap 另一個有趣的鏈接:https:///github.com/twitter/bootstrap/issues/2196 –
- 1. 在Twitter中控制傳送帶Bootstrap 2.0
- 2. Twitter Bootstrap選項卡式表
- 3. twitter bootstrap傳送帶圖像居中
- 4. Bootstrap傳送帶凍結
- 5. 多個twitter Bootstrap傳送帶類控制
- 6. Twitter Bootstrap傳送帶不工作(3.1.1)
- 7. jQuery選項卡的傳送帶導航
- 8. 在WordPress中結合助推器傳送帶和複選框
- 9. twitter-bootstrap選項卡與輔助導航
- 10. twitter bootstrap崩潰選項卡問題
- 11. 使用Twitter Bootstrap Nav選項卡與玉
- 12. 自動更改Twitter Bootstrap選項卡
- 13. Twitter Bootstrap Togglable選項卡菜單
- 14. Angularjs Twitter Bootstrap指令 - 選項卡
- 15. 如何在bootstrap中切換選項卡?
- 16. 如何在按下按鈕時更改Twitter Bootstrap選項卡?
- 17. Twitter Bootstrap選項卡和引導選擇溢出問題
- 18. 無法在document.ready的Ajax選項卡中加載傳送帶?
- 19. 如何在Html,Css,Twitter Bootstrap中創建多個藥片/選項卡選擇框?
- 20. 使用Twitter Bootstrap和Orchard CMS的圖像傳送帶
- 21. Twitter Bootstrap:有傳送帶圖像的全寬和高度
- 22. Twitter Bootstrap 2.0傳送帶和IE轉換問題
- 23. Bootstrap multicolumns傳送帶
- 24. 帶邊距的Bootstrap選項卡
- 25. 帶Bootstrap選項卡的條件導航?
- 26. Rails 3.2.3 + Twitter Bootstrap + Nav-Tabs:如何顯示特定的選項卡?
- 27. 如何測試Twitter-Bootstrap選項卡與Capybara打開?
- 28. 如何激活或不(導航選項卡)Bootstrap Twitter(Angular 2)
- 29. Twitter Bootstrap選項卡在IE8中不工作
- 30. flexsider不工作在Bootstrap選項卡和jquery選項卡
您的網站現在不工作。 –
它應該工作,請重試。 – farjam
由於鏈接不再有效,您有可能在此發佈原始來源嗎?要麼這個或張貼它喜歡JSBin.com什麼的?我遇到了這個答案(谷歌上的#3),它看起來不能看到有問題的原始代碼。 – streetlogics