Add TOC controls (HTML Help)

When a user opens a topic, the table of contents appears.

If a topic is in a subfolder, copy the contents of the file into the subfolder before adding the control.

1)Open a topic in the Design view.

2)Click where you want to add the table of contents.

3)Select Insert > HTML > Javascript > Table Of Contents. The Contents control appears in the Design Editor.

4)To test the control, generate the project. The Table Of Contents control displays the same table of contents as in the final output.

Version-control projects may have more options.

tip:   You can link other contents files in your project. Copy the HHC file into the project if you want to select the HHC file with the TOC control.


September 30, 2016

Legal Notices | Online Privacy Policy