TOC:onelevelexpand()

Please post all questions relating to Help & Manual 6 here!

Moderators: Alexander Halser, Tim Green

Post Reply
Compulink
Posts: 3
Joined: Wed Dec 12, 2007 1:52 am

TOC:onelevelexpand()

Unread post by Compulink »

I added to the TOC template: javascript:parent.fullexpand()

And that works as advertised, except there are way too many children.

What would I'd prefer is javascript:parent.OneLevelExpand() but that didn't work.

Any help on this would be appreciated.

Thanks
Mark
User avatar
Tim Green
Site Admin
Posts: 23153
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: TOC:onelevelexpand()

Unread post by Tim Green »

Hi Mark,
What would I'd prefer is javascript:parent.OneLevelExpand() but that didn't work.
Well, that doesn't work because that function doesn't exist... 8) I'm afraid there is no function for single-level expand in the TOC code. The only global function you have is for expanding all the levels, and since the levels in the TOC don't have classes identifying their level it would be non-trivial to write a function to do that.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Post Reply