Skip to content

mishavantol/jquery-treeview

 
 

Repository files navigation

jQuery Treeview

Lightweight and flexible transformation of an unordered list into an expandable and collapsable tree, great for unobtrusive navigation enhancements. Supports both location and cookie based persistence.

Provides some options for customizing, an async-tree extension and an experimental sortable extension.

screenshot

Note that this project is not actively maintained anymore.

Check out jqTree for a more up to date plugin.


Todo

1.5

  • Add classes and rules for root items
  • Lazy-loading: render the complete tree, but only apply hitzones and hiding of children to the first level on load
  • Async treeview
    • Support animations
    • Support persist options

Documentation

.treeview( options )

Takes an unordered list and makes all branches collapsable. The "treeview" class is added if not already present. To hide branches on first display, mark their li elements with the class "closed". If the "collapsed" option is used, mark initially open branches with class "open".

License

Copyright (c) 2007 Jörn Zaefferer

Dual licensed under the MIT and GPL licenses:

Packages

No packages published

Languages

  • JavaScript 86.0%
  • CSS 9.6%
  • PHP 4.4%