From: Alex Kalicki Date: Thu, 26 Sep 2013 21:49:03 +0000 (-0400) Subject: Resolves #10726 - clarifies javascript tab markup in docs X-Git-Tag: v3.0.1~36^2~3^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F10827%2Fhead;p=thirdparty%2Fbootstrap.git Resolves #10726 - clarifies javascript tab markup in docs --- diff --git a/javascript.html b/javascript.html index 5bac259e28..ff07387fd6 100644 --- a/javascript.html +++ b/javascript.html @@ -713,7 +713,7 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed) {% endhighlight %}

Markup

-

You can activate a tab or pill navigation without writing any JavaScript by simply specifying data-toggle="tab" or data-toggle="pill" on an element. Adding the nav and nav-tabs classes to the tab ul will apply the Bootstrap tab styling.

+

You can activate a tab or pill navigation without writing any JavaScript by simply specifying data-toggle="tab" or data-toggle="pill" on an element. Adding the nav and nav-tabs classes to the tab ul will apply the Bootstrap tab styling, while adding the nav and nav-pills classes will apply pill styling.

{% highlight html %}