"Basic Collapsible Accordion Example"
Bootstrap 3.0.0 Snippet by mwood073

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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"> <h1 class="page-header">Collapsible Accordion</h1> <h4>Default Panel</h4> <div class="row"> <div id="accordion" class="panel-group"> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a href="#panel-1" data-parent="#accordion" data-toggle="collapse">Title 1</a> </h4> </div> <div class="panel-collapse collapse in" id="panel-1"> <div class="panel-body"> Panel 1 </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a href="#panel-2" data-parent="#accordion" data-toggle="collapse">Title 2</a> </h4> </div> <div class="panel-collapse collapse" id="panel-2"> <div class="panel-body"> Panel 2 </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a href="#panel-3" data-parent="#accordion" data-toggle="collapse">Title 3</a> </h4> </div> <div class="panel-collapse collapse" id="panel-3"> <div class="panel-body"> Panel 3 </div> </div> </div> </div> </div> <h4></h4> </div>

Related: See More


Questions / Comments: