Hello. I would like to propose a new feature for the Treeview plugin.
persist: 'location+cookie' This would use both location.href and cookies for persistance. First, the plugin searches the list for location.href. If found - opens the proper node, saves a new cookie and finishes. If not found - then opens the node that was saved in the cookie. This would give a power. Let's have an internet bookshop. We have got a category browser on the left (Treeview) with all categories. The user searches the list for the category and then clicks a link. Now the first page of category products has been shown. The user finds the book he wants to buy and clicks on it. The book url does not exist in a treeview list, so "persist: location" will fail to open the valid node. "persist: cookie" works for now - the correct node has been open. Now the user clicks "go back" button as many times as it is needed to go back to homepage. The result is that some nodes are open but should not be. "persist: cookie" fails to open the correct node. In this case "persist: location" would give positive results. As you can see a hybrid of location and cookie would make this more flexible. Greetings, Damian Nowak www.nowaker.net