"Accordion Menu"
Bootstrap 3.3.0 Snippet by bacigalupe

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="col-lg-3"> <div class="panel-group" id="accordion"> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#"><span class="glyphicon glyphicon-home"> </span>Home</a> </h4> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne"><span class="glyphicon glyphicon-book"> </span>Articles</a> </h4> </div> <div id="collapseOne" class="panel-collapse collapse"> <div class="panel-body"> <table class="table"> <tr> <td> <span class="glyphicon glyphicon-time"></span><a href="http://www.jquery2dotnet.com">Latest</a> </td> </tr> <tr> <td> <span class="glyphicon glyphicon-pencil"></span><a href="http://www.jquery2dotnet.com">New Article</a> </td> </tr> <tr> <td> <span class="glyphicon glyphicon-folder-open"></span><a href="http://www.jquery2dotnet.com">My Articles</a> </td> </tr> </table> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo"><span class="glyphicon glyphicon-list"> </span>Categories</a> </h4> </div> <div id="collapseTwo" class="panel-collapse collapse"> <div class="panel-body"> <table class="table"> <tr> <td> <span class="glyphicon glyphicon-globe"></span><a href="http://www.jquery2dotnet.com">Browse</a> </td> </tr> <tr> <td> <span class="glyphicon glyphicon-tag"></span><a href="http://www.jquery2dotnet.com">New Category</a> </td> </tr> </table> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseThree"><span class="glyphicon glyphicon-user"> </span>Users</a> </h4> </div> <div id="collapseThree" class="panel-collapse collapse"> <div class="panel-body"> <table class="table"> <tr> <td> <span class="glyphicon glyphicon-lock"></span><a href="http://www.jquery2dotnet.com">Change Password</a> </td> </tr> <tr> <td> <span class="glyphicon glyphicon-plus-sign"></span><a href="http://www.jquery2dotnet.com">New User</a> </td> </tr> </table> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#"><span class="glyphicon glyphicon-search"> </span>Search</a> </h4> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#"><span class="glyphicon glyphicon-log-out"> </span>Logout</a> </h4> </div> </div> </div> </div> <div class="col-lg-9"> <div class="well"> <h1>KB</h1> Content </div> </div> </div> </div>
body{margin-top:50px;} .glyphicon { margin-right:10px; } .panel-body { padding:0px; } .panel-body table tr td { padding-left: 15px } .panel-body .table {margin-bottom: 0px; }

Related: See More


Questions / Comments: