diff options
| author | Alex Kalicki <[email protected]> | 2013-09-26 17:49:03 -0400 |
|---|---|---|
| committer | Alex Kalicki <[email protected]> | 2013-09-26 17:49:03 -0400 |
| commit | 5d6e1d742def19a730da188f0269f938928e503b (patch) | |
| tree | e0378cfc4c3004411e85c87b22f37ba2a0251bdd /javascript.html | |
| parent | 1a476b623ebea6b5f95161b865fb38ddd766fa84 (diff) | |
| download | bootstrap-5d6e1d742def19a730da188f0269f938928e503b.tar.xz bootstrap-5d6e1d742def19a730da188f0269f938928e503b.zip | |
Resolves #10726 - clarifies javascript tab markup in docs
Diffstat (limited to 'javascript.html')
| -rw-r--r-- | javascript.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript.html b/javascript.html index 5bac259e2..ff07387fd 100644 --- a/javascript.html +++ b/javascript.html @@ -713,7 +713,7 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed) {% endhighlight %} <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. Adding the <code>nav</code> and <code>nav-tabs</code> classes to the tab <code>ul</code> will apply the Bootstrap tab styling.</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 <a href="{{ page.base_url }}components#nav-tabs">tab styling</a>, while adding the <code>nav</code> and <code>nav-pills</code> classes will apply <a href="{{ page.base_url }}components#nav-pills">pill styling</a>.</p> {% highlight html %} <!-- Nav tabs --> <ul class="nav nav-tabs"> |
