In this topic: |
This HTML template is only used in Browser-based Help. It generates the Table of Contents (TOC) pane in the frame layout that emulates the appearance and functionality of the HTML Help viewer in a normal browser.
|
Be particularly careful when editing this template! The TOC template is an integral part of the dynamic TOC of the help viewer generated by Help & Manual for Browser-based Help. Its code is essential for the proper functioning of the viewer and the TOC. Please be extremely careful when you are editing this template – if you don't understand what a piece of code is for it's better to leave it alone! |
The TOC template for Browser-based Help is accessed here:
Project > Project Properties > Browser-based Help > Table of Contents
The TOCs in HTML Help and eBooks:
The TOC in HTML Help cannot really be customized. The appearance of the TOC in the eBooks viewer is defined by the eBook templates.
Select Let me edit HTML code directly to display the template code in the integrated HTML editor. All HTML templates are edited in the same way. See Editing HTML templates for details.
See The default TOC template in the Reference > Templates > HTML Templates section for the default template code and full details of the default template.
Script links for expanding and collapsing the TOC:
You can use the following code to create links that will allow the user to expand and collapse the entire TOC with a single click:
<a href="javascript:parent.fullexpand()">Expand the TOC</a>
<a href="javascript:parent.fullcollapse()">Collapse the TOC</a>
See also:
Page url: http://www.helpandmanual.com/help/index.html?hm_advanced_htmltemplates_toc.htm