Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Demo"
Bootstrap 3.3.0 Snippet by
Tmoorfoot
3.3.0
jQuery
Preview
HTML
CSS
JS
View Full Screen
Fork
Fork this
838
 
0 Fav
Post to Facebook
Tweet this
<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="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="panel-group" id="accordion"> <div class="panel panel-default col-lg-2 no-padding"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne"> MRI</a> </h4> </div> <div id="collapseOne" class="panel-collapse collapse"> <div class="panel-body"> <div class="panel-group accordion2"> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent=".accordion2" href="#collapseOne-1"> Upper Body</a> </h4> </div> <div id="collapseOne-1" class="panel-collapse collapse"> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="select" data-parent="accordion2" href="#collapseOne-1"></li> Brain</a> <br><a data-toggle="select" data-parent="accordion2" href="#collapseOne-1"> Chest</a> <a data-toggle="select" data-parent="accordion2" href="#collapseOne-1"> Shoulder</a> </h4> </div> <div id="collapseOne-1" class="panel-collapse collapse"> <div class="panel-body"> </div> </div> </div> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent=".accordion2" href="#collapseOne-2"> Lower Body</a> </h4> </div> <div id="collapseOne-2" class="panel-collapse collapse"> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="select" data-parent="accordion2" href="#collapseOne-1"></li> Brain</a> <br><a data-toggle="select" data-parent="accordion2" href="#collapseOne-1"> Chest</a> <a data-toggle="select" data-parent="accordion2" href="#collapseOne-1"> Shoulder</a> </h4> </div> <div id="collapseOne-1" class="panel-collapse collapse"> <div class="panel-body"> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div class="panel panel-default col-lg-2 no-padding"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo"> Ultrasound</a> </h4> </div> <div id="collapseTwo" class="panel-collapse collapse"> <div class="panel-body"> <div class="panel-group accordion2"> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent=".accordion2" href="#collapseTwo-5"> Food</a> </h4> </div> <div id="collapseTwo-5" class="panel-collapse collapse"> <div class="panel-body"> <ul> <li><a href="">link</a></li> <li><a href="">link</a></li> <li><a href="">link</a></li> <li><a href="">link</a></li> </ul> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent=".accordion2" href="#collapseTwo-6"> Nappied</a> </h4> </div> <div id="collapseTwo-6" class="panel-collapse collapse"> <div class="panel-body"> <ul> <li><a href="">link</a></li> <li><a href="">link</a></li> <li><a href="">link</a></li> <li><a href="">link</a></li> </ul> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent=".accordion2" href="#collapseTwo-7"> Toiletries</a> </h4> </div> <div id="collapseTwo-7" class="panel-collapse collapse"> <div class="panel-body"> <ul> <li><a href="">link</a></li> <li><a href="">link</a></li> <li><a href="">link</a></li> <li><a href="">link</a></li> </ul> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent=".accordion2" href="#collapseTwo-8"> Accessories</a> </h4> </div> <div id="collapseTwo-8" class="panel-collapse collapse"> <div class="panel-body"> <ul> <li><a href="">link</a></li> <li><a href="">link</a></li> <li><a href="">link</a></li> <li><a href="">link</a></li> </ul> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div>
.panel-group .panel + .panel { margin-top: 0px; }
$(document).ready(function(){ function toggleIcon(e) { $(e.target) .prev('.panel-heading') .find(".more-less") .toggleClass('glyphicon-plus glyphicon-minus'); } $('.panel-group').on('hidden.bs.collapse', toggleIcon); $('.panel-group').on('shown.bs.collapse', toggleIcon); $('.accordion2').on('hidden.bs.collapse', toggleIcon); $('.accordion2').on('shown.bs.collapse', toggleIcon); });
Related:
See More
Template
Vue Now UI Dashboard PRO
26.2K
23
jv Float demo
24.6K
24
Cardeostrap Demo
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76