I want to write in the home HTML page the following text (Table of contents). When the user clicks on it the left panel is opened and the table of contents is shown, exactly as it is the case with the table of contents button
First step: write the script
go to the Script Manager, double click on “UserMain” and copy/paste this code in the existing script:
procedure ShowTheToc; begin ShowLeftPanel(2, True); end;
Click “Save Script” and now edit your HTML page. Insert the following HTML code:
<a href="hescript://UserMain.ShowTheToc">Table of contents</a>
And you can compile / run your project.