Hi there,
Is it possible to remove the Show/Hide Hidden Text section from a CHM output?
If so, can anybody perhaps assist me with how to do this?
Thanking you in advance.
Kind regards
Chrisna
CHM Output - Remove Show/Hide Hidden Text section
Moderators: Alexander Halser, Tim Green
-
- Posts: 1
- Joined: Mon Nov 14, 2022 10:10 am
- Tim Green
- Site Admin
- Posts: 23181
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: CHM Output - Remove Show/Hide Hidden Text section
Hi Chrisna,
To turn this off, edit the your CHM .hmskin file in Help+Manual. In the Project Explorer, select Configuration > HTML Page Templates > Default, and locate this line of code:
Add display: none; before the width: 100%; setting, so that it looks like this:
Alternatively, and this is a much better solution, locate these lines of code and just replace the English text with your own language so that your users can open and close all toggles on the page with the link if they want to:
To turn this off, edit the your CHM .hmskin file in Help+Manual. In the Project Explorer, select Configuration > HTML Page Templates > Default, and locate this line of code:
Code: Select all
#switchtoggles { width:100%; text-align: right; padding: 0 0.0208in 0 0; font-size: 10pt; }
Code: Select all
#switchtoggles { display: none; width:100%; text-align: right; padding: 0 0.0208in 0 0; font-size: 10pt; }
Code: Select all
<!-- The following code displays Expand All/Collapse All links below the header in topics containing toggles -->
<div id="switchtoggles"><IF_TOGGLES><a href="javascript:HMToggleExpandAll(!HMAnyToggleOpen())" title="Click to open/close expanding sections">Show/Hide Hidden Text</a></IF_TOGGLES></div>
</div>
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.