Using bootstrap 3 I am trying to use this exameple using class = "active" in the li element. Unfortunately, when the page is not initially displayed, no tab bar is displayed, the contents of the entire bookmark are empty. The correct tab displays are displayed, and when I explicitly click on the tab, the correct panel appears.
What am I missing?
Thanks in advance.
<ul class="nav nav-tabs"> <li class="active"><a href="#graduation" data-toggle="tab">graduation</a></li> <li><a href="#graduate" data-toggle="tab">graduate</a></li> <li><a href="#extension" data-toggle="tab">extension</a></li> </ul> <div class="tab-content" id="TabContent"> <div class="tab-pane fade" id="graduation"> <p> anything </p> </div> <div class="tab-pane fade" id="graduate"> <p> graduate </p> </div> <div class="tab-pane fade" id="extension"> <p> extension </p> </div> </div>
html5 css3 twitter-bootstrap twitter-bootstrap-3
g.pickardou
source share