Explore the community Forums Lectora Lectora Questions & Answers Chapter/Section Lists Reply To: Chapter/Section Lists

#419655 Score: 1
Profile photo of William R
William R
Member
beginner
intermediate
friend finder
curious george
wise owl
2 pts
@wr3030

I’m trying to avoid having to create these variables on a per course basis as I am building a custom navigation menu using HTML, CSS, and JavaScript that will be used in a course template for many courses going forward. If I could easily pull the course/section names in their entirety on any given page (as the menu is dynamically built with code on each page), this would allow me to populate the menu chapters/sections based entirely on the names of the chapters/sections as entered by the course designer inside Lectora.

I have thought about putting the Table of Contents object on the page and digging it out of the HTML text nodes generated by the TOC, but I worry that this will be messy. I’m thinking it’ll have go to into the suggestion box 😐

This post has received 1 vote up.