Use the tab JavaScript plugin—include it individually or through
the compiled bootstrap.js
file—to extend our
navigational tabs and pills to create tabbable panes of local content, even via
dropdown menus.
Exercitation photo booth stumptown tote bag Banksy, elit small batch freegan sed. Craft beer elit seitan exercitation, photo booth et 8-bit kale chips proident chillwave deep v laborum. Aliquip veniam delectus, Marfa eiusmod Pinterest in do umami readymade swag.
Day handsome addition horrible sensible goodness two contempt. Evening for married his account removal. Estimable me disposing of be moonlight cordially curiosity.
Photo booth stumptown tote bag Banksy, elit small batch freegan sed. Craft beer elit seitan exercitation, photo booth et 8-bit kale chips proident chillwave deep v laborum. Aliquip veniam delectus, Marfa eiusmod Pinterest in do umami readymade swag.
Day handsome addition horrible sensible goodness two contempt. Evening for married his account removal. Estimable me disposing of be moonlight cordially curiosity.
Booth exercitation photo booth stumptown tote bag Banksy, elit small batch freegan sed. Craft beer elit seitan exercitation, photo booth et 8-bit kale chips proident chillwave deep v laborum. Aliquip veniam delectus, Marfa eiusmod Pinterest in do umami readymade swag.
Day handsome addition horrible sensible goodness two contempt. Evening for married his account removal. Estimable me disposing of be moonlight cordially curiosity.
<!-- Tab -->
<div class="nav-wrapper">
<ul class="nav nav-pills nav-fill flex-column flex-md-row" id="tab-30" role="tablist">
<li class="nav-item">
<a class="nav-link flex-sm-fill text-sm-center active" id="tab-link-example-1" data-toggle="tab"
href="#link-example-1" role="tab" aria-controls="link-example-1" aria-selected="true">Home</a>
</li>
<li class="nav-item">
<a class="nav-link flex-sm-fill text-sm-center" id="tab-link-example-2" data-toggle="tab" href="#link-example-2"
role="tab" aria-controls="link-example-2" aria-selected="false">Profile</a>
</li>
<li class="nav-item">
<a class="nav-link flex-sm-fill text-sm-center" id="tab-link-example-3" data-toggle="tab" href="#link-example-3"
role="tab" aria-controls="link-example-3" aria-selected="false">Messages</a>
</li>
</ul>
</div>
<!-- End of Tab Nav -->
<!-- Tab Content -->
<div class="card">
<div class="card-body p-0">
<div class="tab-content" id="tabcontentexample">
<div class="tab-pane fade show active" id="link-example-1" role="tabpanel"
aria-labelledby="tab-link-example-1">
<p>Exercitation photo booth stumptown tote bag Banksy, elit small batch freegan sed. Craft beer elit seitan exercitation, photo booth et 8-bit kale chips proident chillwave deep v laborum. Aliquip veniam delectus, Marfa eiusmod Pinterest in do umami readymade swag.</p>
<p>Day handsome addition horrible sensible goodness two contempt. Evening for married his account removal. Estimable me disposing of be moonlight cordially curiosity.</p>
</div>
<div class="tab-pane fade" id="link-example-2" role="tabpanel" aria-labelledby="tab-link-example-2">
<p>Photo booth stumptown tote bag Banksy, elit small batch freegan sed. Craft beer elit seitan exercitation, photo booth et 8-bit kale chips proident chillwave deep v laborum. Aliquip veniam delectus, Marfa eiusmod Pinterest in do umami readymade swag.</p>
<p>Day handsome addition horrible sensible goodness two contempt. Evening for married his account removal. Estimable me disposing of be moonlight cordially curiosity.</p>
</div>
<div class="tab-pane fade" id="link-example-3" role="tabpanel" aria-labelledby="tab-link-example-3">
<p> Booth exercitation photo booth stumptown tote bag Banksy, elit small batch freegan sed. Craft beer elit seitan exercitation, photo booth et 8-bit kale chips proident chillwave deep v laborum. Aliquip veniam delectus, Marfa eiusmod Pinterest in do umami readymade swag.</p>
<p>Day handsome addition horrible sensible goodness two contempt. Evening for married his account removal. Estimable me disposing of be moonlight cordially curiosity.</p>
</div>
</div>
</div>
</div>
<!-- End of Tab -->
Enable tabbable tabs via JavaScript (each tab needs to be activated individually):
$('#myTab a').on('click', function (e) {
e.preventDefault();
$(this).tab('show');
})
You can activate individual tabs in several ways:
$('#myTab a[href="#profile"]').tab('show'); // Select tab by name
$('#myTab li:first-child a').tab('show'); // Select first tab
$('#myTab li:last-child a').tab('show'); // Select last tab
$('#myTab li:nth-child(3) a').tab('show'); // Select third tab
For more information, see the official Bootstrap documentation.