區塊 1
Try to scroll this section and look at the navigation bar while scrolling! Try to scroll this section and look at the navigation bar while scrolling!
Try to scroll this section and look at the navigation bar while scrolling! Try to scroll this section and look at the navigation bar while scrolling!
區塊 2
Try to scroll this section and look at the navigation bar while scrolling! Try to scroll this section and look at the navigation bar while scrolling!
Try to scroll this section and look at the navigation bar while scrolling! Try to scroll this section and look at the navigation bar while scrolling!
區塊 3
Try to scroll this section and look at the navigation bar while scrolling! Try to scroll this section and look at the navigation bar while scrolling!
Try to scroll this section and look at the navigation bar while scrolling! Try to scroll this section and look at the navigation bar while scrolling!
區塊 4 Submenu 1
Try to scroll this section and look at the navigation bar while scrolling! Try to scroll this section and look at the navigation bar while scrolling!
Try to scroll this section and look at the navigation bar while scrolling! Try to scroll this section and look at the navigation bar while scrolling!
區塊 4 Submenu 2
Try to scroll this section and look at the navigation bar while scrolling! Try to scroll this section and look at the navigation bar while scrolling!
Try to scroll this section and look at the navigation bar while scrolling! Try to scroll this section and look at the navigation bar while scrolling!
```
9. css ```
```
10. 實例:
三、標籤頁
1. 源文件:tab.js
2. 標籤頁是我們常用的功能,單擊一個標籤,下面就顯示對應的標籤頁面
3. 添加`data-toggle="tab"`到每個選項卡,並添加一個`.tab-pane`類為每個標籤的唯一ID,並在將它們包裝`.tab-content`類。
4. 代碼: ```
標籤頁
HOME
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
```
5. 實例:
四、工具提示
1. 文源件:tooltip.js
2. 提示框(tooltip)也是一個比較常見的功能,一般來說是鼠標移到特定的元素上時,顯示相關的提示語
3. 該`data-toggle="tooltip"`激活提示。
4. 該`title`屬性指定要在工具提示中顯示的文本。
5. 提示不僅是CSS-插件,因此必須用jQuery初始化:選擇指定的元素並調用`tooltip()`方法。
6. 代碼 ```
Tooltip Example
Tooltips are not CSS-only plugins, and must therefore be initialized with jQuery: select the specified element and call the tooltip() method.
Hover over me
工具提示範例2
Tooltips are not CSS-only plugins, and must therefore be initialized with jQuery: select the specified element and call the tooltip() method.
Hover over me
```
7. 實例:
五、折疊:
1. 手風琴 ```
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat.
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat.
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat.
```
六、更多範例參考: