To add links to all your pages you need to insert the necessary code manually in the HTML template for your pages. You will need some experience in editing HTML for this. See The topic page templates in the Using HTML Templates chapter for detailed instructions on how to add code to your topic page templates.
•Locate the position in the template where you want to insert your links and then insert the following code (you can change the title text to insert your own tooltips, of course):
Expand All:
|
<a href="javascript:HMToggleExpandAll(true)" title="Tooltip text">Expand All</a>
|
Collapse All:
|
<a href="javascript:HMToggleExpandAll(false)" title="Tooltip text">Collapse All</a>
|
Expand/Collapse:
|
<a href="javascript:HMToggleExpandAll(!HMTogglesAllExpanded)" title="Tooltip text">Expand/Collapse</a>
|
Locating the correct position in the template:
The <%TOPIC_TEXT%> variable in the HTML template inserts the content of your topic from the editor into the template. This means that everything inserted directly above this variable is inserted directly before the beginning of your normal topic content, everything directly below it is inserted directly after the end of your topic content.
The topic header is in the code between the <IF_TOPIC_HEADER> and </IF_TOPIC_HEADER> tags. The header components are in a table. You may need to add cells or rows to achieve the effect and positioning you want.
|