Is highlighting the selected item supported in jquery treeview? Can you point me at sample code demonstrating?
A:
Funky Dude
2009-12-01 04:00:29
A:
The persist
option persists the tree state in cookies or the page location.
If set to "location", looks for the anchor that matches location.href and activates that part of the treeview it. Great for href-based state-saving.
If set to "cookie", saves the state of the tree on each click to a cookie and restores that state on page load.
The following code sample enables the navigation option for this treeview, matching the active treeview element to location.href
$(".selector").treeview({
persist: "location"
})
Robert Harvey
2009-12-01 04:12:10