aboutsummaryrefslogtreecommitdiff
path: root/docs/javascript.html
diff options
context:
space:
mode:
authorMarcus Bointon <[email protected]>2012-03-21 11:28:23 +0100
committerMarcus Bointon <[email protected]>2012-03-21 11:28:23 +0100
commit02a67ea59eb8ee28ba4220898c1a0b2052a80915 (patch)
treee7438a72c2d53da00932ba064beb8e75bf913c43 /docs/javascript.html
parenta0203bc8e0aa79b8f8cfd8c082c4256bed29ae5b (diff)
downloadbootstrap-02a67ea59eb8ee28ba4220898c1a0b2052a80915.tar.xz
bootstrap-02a67ea59eb8ee28ba4220898c1a0b2052a80915.zip
Add note about styling tabs
Fix typo in popover docs
Diffstat (limited to 'docs/javascript.html')
-rw-r--r--docs/javascript.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/javascript.html b/docs/javascript.html
index 739e2475f..c9b94a3ca 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -644,7 +644,7 @@ $('#myTab a[href="#profile"]').tab('show');
$('#myTab a:last').tab('show');
</pre>
<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">
&lt;ul class="nav nav-tabs"&gt;
&lt;li&gt;&lt;a href="#home" data-toggle="tab"&gt;Home&lt;/a&gt;&lt;/li&gt;
@@ -898,7 +898,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
</div>
<h3>Markup</h3>
<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>
<h3>Methods</h3>
<h4>$().popover(options)</h4>