[jQuery] [treeview]

[jQuery] [treeview]


hey all,
having a problem with treeview by Jörn Zaefferer.
I load the content from json, but i lose persistance of location. i
get the tree folded and i don't know what branch i'm on to.
i managed to fix this by pasting the location code in .async.js,
            var sm = current.find("a").filter(function() { return
this.href.toLowerCase() == location.href.toLowerCase(); });
                if ( sm.length ) {
                    sm.addClass("selected").parents("ul, li").add( sm.next() ).show
();
                }
but now the branch is marked as selected, however the tree is not open
(all folded)
any ideas?