When a parent link is clicked it reveals the sub-list. What I would like to do is hide currently visible lists when another is revealed. I’ve tried to use .siblings but it dunt werk (or, at least, I can’t make it happen!)
I have hidden all of the lists first. The script then shows the one proceeding the clicked link, which is fine. What I want to do is hide any others that are already open – at the moment you can expand the entire tree, which I don’t want…