tabs - Twitter Bootstrap Tabbable Navbar -


i'm using twitter bootstrap create navbar @ top of page. want nav elements work tabs instead of links. see others have been able achieve this, still not able.

i'm following this section of documents create navbar, , "tabbable nav" section from here add tab functionality.

here's jsfiddle if prefer that, also, here pasted here:

<head>   <meta charset="utf-8">   <title>course manager</title>   <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootswatch/2.3.2/cerulean/bootstrap.min.css"/> </head> <body>    <div class="container">      <div class="navbar">       <div class="navbar-inner">         <a class="brand" href="#">training courses</a>         <ul class="nav nav-tabs">           <li><a href="#courses" data-toggle="tab">manage courses</a></li>           <li><a href="#tools" data-toggle="tab">manage tools</a></li>         </ul>       </div>     </div>      <div class="tab-content">       <div class="tab-pane fade" id="courses">         <p>courses</p>       </div>       <div class="tab-pane fade" id="tools">         <p>tools</p>       </div>     </div>    </div>    <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>   <script src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>  </body> 

on original fiddle, expand 'external resources' on left , click 'bootstrap.min.js' link. url in there not valid example wasn't loading bootstrap javascript file. removed , re-added valid url.


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -