I've added a scriptlink to my WebHelp output, which results in this HTML in the output page:
Code: Select all
<p class="p_T_BtnCmd" style="page-break-inside: avoid;"><span class="f_T_BtnCmd"><a href="javascript:HMToggleExpandAll(!HMTogglesAllExpanded)" class="scriptlink" title="Show/hide expandible topics">Expand/Collapse all Topics</a></span></p>
The Show/Hide options in the hamburger menu work fine (though I note they apparently use a different call, via an onclick handler).
What do I need to do differently?