I have a ddr treeview menu setup w/ default 'closed' state. If I remove 'closed' it expands all menu list items but I am looking to only expand the active or 'selected' menu list item. See the template.xslt code template I used here -
https://github.com/MarkXA/ddrmenutemplates/blob/ma...
This is my current treeview menu state on page load:
And this is when I click open menu item but I wish for it to default to this state (only active list item open):
Is there a control in the treeview.js file to control this or is there a bit of jquery to overwrite this to attain my desired outcome?
Thx...