Explore the community Forums Lectora Lectora Suggestions Strongly Needed Feature for Table of Contents Reply To: Strongly Needed Feature for Table of Contents

#386686 Score: 0
Profile photo of Andy Lockwood
Andy Lockwood
friend finder
verified member
product reviewer
LUC16 Attendee
picture perfect
12 pts

If you build on the idea the <span class=”handle-sign”>@</span>smiller7502 provided, you could build a custom TOC that appears as you go. It would be variable-heavy, but simple 0/1 variables. And no Javascript or hacking required.

After setting up your custom TOC, set every listing/button/item to Initially Hidden.

In the TOC, each listing will have an action:
Show: Target: This Object; Condition: If [targetname]: Equal To 1.

[targetname] is the variable that will correspond to each listing. When creating these variables, make sure that you check the Retain Variable Between Sessions box, so this change will be permanent.

On each page that would trigger a TOC listing, you’d add a variable:
ModifyVariable: Target: [targetname, same as TOC would be helpful]; Type: Set Equal To:; Value: 1

Repeat as necessary.