Hi there, and thanks so much for an awesome plugin!
Ok, here goes: I'm trying to make expandable sections of a document, and expandable sub-sections inside them. Using the
[expandsub] shortcode (or simply nesting div's for the roll-your-own example), worked perfectly.
However, I'm now trying to make a Table Of Contents, with sections and sub-sections, using links with
While this works perfectly for "root-level" sections, it's more problematic for nested elements: the nested element expands, but its parent doesn't, which means it stays invisible.
Is there any way to make the parent expand when the child is expanded?
I tried several things so far:
<span class="collapseomatic" id="extra1-my_id"></span>: as stated above, expands child but not parent
<a href=#my_id" class="expandanchor></a>. While this works ,it introduces a number of issues:
- no collapse possible (see both examples)
- the findme attribute becomes unstable (see shortcode example)
- if using highlander groups, clicking the link the first time opens parent, and you have to click a second time to get to the child (see roll-your-own example)
After thoroughly reading the documentation and browsing the forum, I have yet to find an answer to this problem! I hope someone can get me out of this pickle =)