Skip to main content
Inspiring
August 23, 2025
Question

FM 2020 HTML5 Publisher: Setting Expanded TOC level

  • August 23, 2025
  • 2 replies
  • 131 views

Hello everyone,

 

AFAIK, the FM HTML5 Publisher doesn't include any option that controls which TOC level will appear expanded/collapsed by default when opening the index file. My guess is that this is controlled by some Javascript file. Does anyone know where this setting is defined/implemented?

 

Thank you in advance!

 

    2 replies

    Jeff_Coatsworth
    Community Expert
    Community Expert
    August 25, 2025

    Think you'll need to put your JS programmer hat on for that one.

    rombanks
    Inspiring
    August 25, 2025

    Yes, I was actually looking for the JS file responsible for this behavior, but couldn't spot it in the output yet.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    August 25, 2025

    So you're wanting the TOC to be expanded when you open the index.htm file?

    rombanks
    Inspiring
    August 25, 2025

    Hi Jeff,

    Thank you for your response.

    Yes, just the 1st-level heading to be expanded.