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
"Tree Menu"
Bootstrap 2.3.2 Snippet by
sunny5055
2.3.2
jQuery
menu
tree
Preview
HTML
JS
View Full Screen
Fork
Fork this
17.8K
 
7 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/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="well" style="width:300px; padding: 8px 0;"> <div style="overflow-y: scroll; overflow-x: hidden; height: 500px;"> <ul class="nav nav-list"> <li><label class="tree-toggler nav-header">WorkLoad</label> <ul class="nav nav-list tree"> <li><a href="#">DME Report</a></li> <li><a href="#">CAMB Report</a></li> <li><a href="#">LMAB Report</a></li> <li><a href="#">DMF Notification</a></li> <li><a href="#">LME Forecast Report</a></li> </ul> </li> <li class="divider"></li> <li><label class="tree-toggler nav-header">Performance</label> <ul class="nav nav-list tree"> <li><a href="#">Calendar</a></li> <li><a href="#">Efficiency</a></li> <li><a href="#">Process Age</a></li> <li><a href="#">DME Audit</a></li> <li><a href="#">Condition Detected At DME</a></li> </ul> </li> <li class="divider"></li> <li><label class="tree-toggler nav-header">Customers</label> <ul class="nav nav-list tree"> <li><a href="#">Demography</a></li> <li><a href="#">Feedback</a></li> </ul> </li> <li class="divider"></li> <li><label class="tree-toggler nav-header">Licensing</label> <ul class="nav nav-list tree"> <li><a href="#">Assessment Status</a></li> </ul> </li> <li class="divider"></li> <li><label class="tree-toggler nav-header">Medical Stats</label> <ul class="nav nav-list tree"> <li><a href="#">Diagnosis Report</a></li> <li><a href="#">Measurement and Investigation Report</a></li> <li><a href="#">Health Risk Report</a></li> </ul> </li> <li class="divider"></li> <li><label class="tree-toggler nav-header">Admin</label> <ul class="nav nav-list tree"> <li><a href="#">Revenue Report</a></li> <li><a href="#">Applicant Activity Report</a></li> <li><a href="#">Login Activity Report</a></li> </ul> </li> </div> </div> </div> </div>
$(document).ready(function () { $('label.tree-toggler').click(function () { $(this).parent().children('ul.tree').toggle(300); }); });
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
in HTML there is no </ul> and script doesnt work =\
Vasya Kurochkin
()
-
8 years ago
-
Reply
0
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76