I am trying to use collapsers to get an outline functionality within a 
recursive structure. When I click any collapser, it collapses the largest 
surrounding collapsible structure rather than the smallest which is what I 
would expect.

Is there some way to change this?

For example.

  <section>
    <section>
      ...
    </section>
    <section>
      ...
    </section>
  </section>

with CSS

  section
  {
      display: block;
      collapsible: yes;
      non-collapsible-head: 1;
  }

  section:before
  {
      display: block;
      content: collapser() "Start of section";
  }

I can get this to display necely but when I click any one of the collapsers the 
entire structure collapses instead of just the section I have clicked.

Philip Nye


Reply via email to