mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
Add note about styling tabs
Fix typo in popover docs
This commit is contained in:
parent
a0203bc8e0
commit
02a67ea59e
@ -644,7 +644,7 @@ $('#myTab a[href="#profile"]').tab('show');
|
|||||||
$('#myTab a:last').tab('show');
|
$('#myTab a:last').tab('show');
|
||||||
</pre>
|
</pre>
|
||||||
<h3>Markup</h3>
|
<h3>Markup</h3>
|
||||||
<p>You can activate a tab or pill navigation without writing any javascript by simply specifying <code>data-toggle="tab"</code> or <code>data-toggle="pill"</code> on an element.</p>
|
<p>You can activate a tab or pill navigation without writing any javascript by simply specifying <code>data-toggle="tab"</code> or <code>data-toggle="pill"</code> on an element. Adding the <code>nav</code> and <code>nav-tabs</code> classes to the tab <code>ul</code> will apply the bootstrap tab styling.</p>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li><a href="#home" data-toggle="tab">Home</a></li>
|
<li><a href="#home" data-toggle="tab">Home</a></li>
|
||||||
@ -898,7 +898,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
|||||||
</div>
|
</div>
|
||||||
<h3>Markup</h3>
|
<h3>Markup</h3>
|
||||||
<p>
|
<p>
|
||||||
For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a the selector option.
|
For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.
|
||||||
</p>
|
</p>
|
||||||
<h3>Methods</h3>
|
<h3>Methods</h3>
|
||||||
<h4>$().popover(options)</h4>
|
<h4>$().popover(options)</h4>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user