Copy link to clipboard
Copied
Hi,
I am using RoboHelp 10. Please let me know whether there is any provision to remove the Close button (x) in the left navigation pane that is ToC, and retain only the Table of Contents (ToC).
See the attached screenshot, for reference.
Copy link to clipboard
Copied
Which output are you generating and which skin?
Copy link to clipboard
Copied
WebHelp (Primary Layout)
Default simple screen. I needed to update a few colors (background colors) otherwise the basic skin setting is as-is.
Copy link to clipboard
Copied
Sorry for the delay getting back to you. The forum notifications are broken and there's no way to tell which posts have had replies since last I visited.
You could just change the image to a blank image (e.g. a 1x1 transparent gif), however, if people hover over they'd still be able to click on the spot to close the navigation pane.
I don't have RH10, but I don't think this has changed.
Or, there's a manual process you can follow every time you generate, which will completely remove the button. From Skinny on Skins by @Captiv8r:
1. Generate your output.
2. In the output folder, open the whskin_mbars.htm file in a text editor (e.g. Notepad)
3. Find the line starting with addButton("hide2", and delete the entire line. When you run your help, the close button will be gone.
4. Save a copy of this file in a safe location. The generation process creates this file afresh every time you generate, so your changes will be lost.
You need to copy this file back in to your output every time you generate. (or make the same change every time you generate.)
Copy link to clipboard
Copied
It's your call but I'm curious as to why you would want to disable this. I leave it to the user to decide how they want to view things rather than forcing my preference.
Copy link to clipboard
Copied
Thanks, Amebr for the suggestion!
Option1: Hiding close (x) button may create confusion because if a user clicks that button unknowingly and doesn't know about how to open the ToC then it can be challenging for that user to reopen the ToC (in case he/she does not know to click the Contents button).
Option2: In RoboHelp 10, in the whskin_mbars.htm file in a text editor, the suggested string is unavailable. For more information, see the following attached screenshots:
a.
b.
Copy link to clipboard
Copied
I generally do not choose to hide/change (unless required) the available and by default features of RoboHelp because they have their own functions and characteristics, I understand. However, this is a query by one of my client and they wanted to just display the ToC constantly without displaying (rather, by removing) the close button.
Thanks, again!
Copy link to clipboard
Copied
The screenshots attached show the wrong text file has been opened. 🙂
Copy link to clipboard
Copied
Thanks for the reply!
Is there any permanent solution for this? Are there any settings where I could hide the close button before generating the output? Because each time I generate the output and then manually, I need to edit the whskin_mbars file.
Copy link to clipboard
Copied
Thanks for the explanation.
Copy link to clipboard
Copied
Not as far as I know, sorry.
(In the olden days when I used webhelp 🙂 , I modified the width of the toc pane using a similar method, and copied a saved version of the file into the output directory after every generation. I think some people created .bat files to do it more or less automatically, but I didn't have the skills or a friendly developer then.)