"Accordion Menu"
Bootstrap 3.1.0 Snippet by TechMeetups

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.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-sm-3 col-md-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="#collapseOne"><span class="glyphicon glyphicon-folder-close"> </span>Jobs</a> </h4> </div> <div id="collapseOne" class="panel-collapse collapse in"> <div class="panel-body"> <table class="table"> <tr> <td> <span class="glyphicon glyphicon-globe text-primary"></span><a href="http://www.jquery2dotnet.com">City</a> </td> </tr> <tr> <td> <span class="glyphicon glyphicon-info-sign text-success"></span><a href="http://www.jquery2dotnet.com">Type</a> </td> </tr> <tr> <td> <span class="glyphicon glyphicon-user text-info"></span><a href="http://www.jquery2dotnet.com">Role</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-signal"> </span>Startups</a> </h4> </div> <div id="collapseTwo" class="panel-collapse collapse"> <div class="panel-body"> <table class="table"> <tr> <td> <span class="glyphicon glyphicon-globe text-success"></span><a href="http://www.jquery2dotnet.com">City</a> </td> </tr> <tr> <td> <span class="glyphicon glyphicon-info-sign text-success"></span><a href="http://www.jquery2dotnet.com">Type</a> </td> </tr> </table> </div> </div> </div> </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: