Hello again. I can't seem to get the "Print this topic" link to expand all toggles before it prints.
In the skin's HTML Page Templates/Default do have a functioning "expand/collapse content" link that came straight out of the help for H&M7:
Code: Select all
<a href="javascript:HMToggleExpandAll(!HMTogglesAllExpanded)" title="Tooltip text">Expand/Collapse</a>
It works fine. And, also from the H&M7 Help, I'm using this exact text for the print function which the documentation indicates should expand all toggles before printing the page:
Code: Select all
<a href="javascript:HMToggleExpandAll(true); print();">Print this Topic</a>
However, when I generate the webhelp, the print link doesn't expand before opening the printer dialog. When you click the print link, the first thing that happens is that the printer dialog box is displayed, and the preview shows that it's going to print with all the toggles closed. When I dismiss the printer dialog and return to the page, all the toggles expand.
How can I make the toggles expand before the job is sent to the printer? (Possibly also "How am I misunderstanding the instructions?")
Regards,
Elissa M.