design1 Posted May 12, 2011 Share Posted May 12, 2011 Hi everybody,Im trying to change the menu tree. I want to be able to click on a category name, open that one(subcategories will appear) and then click to another category name (subcategories will appear) and the previous opened category should collapse.Im working on the treemanagement file but cannot make it work:( function toggleBranch(jQueryElement, noAnimation) { if(jQueryElement.hasClass('OPEN')) closeBranch(jQueryElement, noAnimation); else openBranch(jQueryElement, noAnimation); } Do you have ideas how I can do that?Regards Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now