jQuery plugin: Treeview
Lightwof an unordered list into an expandable and collapsable tree, great for unobtrusive navigation enhancements. Supports both location and cookie based persistence.
Note as of April 2010: While the plugin still works as it is, it has some shortcomings, and not maintained anymore. There are now plenty of alternative jQuery tree plugins, like jsTree. Eventually there will be successor as part of jQuery UI.
Note October 2010: Despite the above, I’ve moved the plugin to GitHub, fixed a bug when combining persist: “location” and prerendered: true, and released (tagged in Git) 1.4.1.
Current version: 1.4.1
- jQuery 1.2.x+, tested with 1.4.3
- Please post questions to the official Using jQuery Plugins Forum, tagging your question with (at least) “treeview”. Keep your question short and succinct and provide code when possible; a testpage makes it much more likely that you get an useful answer in no time.