1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

fixes #10282: Cross reference tabs and tabs plugin

This commit is contained in:
Mark Otto 2013-09-01 10:27:20 +02:00
parent e2c6d32997
commit 129d8fcebc
2 changed files with 9 additions and 0 deletions

View file

@ -1210,6 +1210,10 @@ base_url: "../"
<li><a href="#">Messages</a></li>
</ul>
{% endhighlight %}
<div class="bs-callout bs-callout-info">
<h4>Requires JavaScript tabs plugin</h4>
<p>For tabs with tabbable areas, you must use the <a href="../javascript/#tabs">tabs JavaScript plugin</a>.</p>
</div>
<h2 id="nav-pills">Pills</h2>
<p>Take that same HTML, but use <code>.nav-pills</code> instead:</p>

View file

@ -687,6 +687,11 @@ $('#myScrollspy').on('activate.bs.scrollspy', function () {
</div>
</div><!-- /example -->
<div class="bs-callout bs-callout-info">
<h4>Extends tabbed navigation</h4>
<p>This plugin extends the <a href="../components/#nav-tabs">tabbed navigation component</a> to add tabbable areas.</p>
</div>
<h2 id="tabs-usage">Usage</h2>
<p>Enable tabbable tabs via JavaScript (each tab needs to be activated individually):</p>