]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Resolves #10726 - clarifies javascript tab markup in docs 10827/head
authorAlex Kalicki <alexander.kalicki@gmail.com>
Thu, 26 Sep 2013 21:49:03 +0000 (17:49 -0400)
committerAlex Kalicki <alexander.kalicki@gmail.com>
Thu, 26 Sep 2013 21:49:03 +0000 (17:49 -0400)
javascript.html

index 5bac259e28577b0080e32b2b7602dfa4306a1099..ff07387fd6c6e6ade9a15745e84a4b83f2936e68 100644 (file)
@@ -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">