bmsterling schrieb: > Hey, > I am working with Jörn's plugin > (http://bassistance.de/jquery-plugins/jquery-plugin-treeview/) and there are > a few things I just can't figure out. > > 1. I need to have so that if expand one folder it will collapse any open > folder. > 2. How would I bind an event for each time a folder is expanded or > collapsed? > Not yet supported. I've added both to my "known issues" list.
I can't promise any schedulue for those. Of course you are welcome to give it a shot, I'd test and add your code then. I think for both you'd have to start at the toggler() function: That knows which element was clicked ($(this).parent()) and could use similar code to the one in the treeController to hide the other branches. -- Jörn Zaefferer http://bassistance.de _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
