3 Replies Latest reply on May 18, 2012 8:52 AM by stephenure

    Can you disable user's ability to collapse navigation bar?

    joshrichardshs

      I'm using RH8 to create a WebHelp system. Is there a way to disable the little button to collapse the navigation bar? It really messes up the design and there's no advantage to it for this help system. Can I modify the .skn file to remove it altogether?

       

      Thanks, Josh

        • 1. Re: Can you disable user's ability to collapse navigation bar?
          joshrichardshs Level 1

          Here's a screenshot from the generated help. I'd like the dark gray and the collapse/hide button to be gone. Is this possible?

          leftsidenav.gif

          • 2. Re: Can you disable user's ability to collapse navigation bar?
            Deb Sauer

            You can make these changes by editing the skin file. If you make any additional changes to the skin file through the RH UI, these changes will be overwritten. So, you'll have to make them again.

             

          • Make a copy of your skin file. It's always good to have a backup!

             

          • To remove the button:

            1. In Windows Explorer find ProjectName\!SkinSubFolder!\SkinName\skin_name.skn.
            2. Open the skin file in Notepad.
            3. Search for <toolbaritem mode="BtnWithIcon Mode" type="built-in-hide" id="11">
            4. Delete everything from  the begin tag <toolbaritem mode="BtnWithIcon Mode" type="built-in-hide" id="11"> to the end tag for this section </toolbaritem>

            It's usually something like:

            <toolbaritem mode="BtnWithIcon Mode" type="built-in-hide" id="11">
               <name>Hide</name>
               <text>::??DefaultWebSkinText??::</text>
               <color></color>
               <image>onload:navBar_close.gif</image>
               <icontype>customized</icontype>
               <selected>
                <color></color>
                <image>onload:navBar_close_small.gif</image>
                <icontype>customized</icontype>
               </selected>
               <style>100</style>
              </toolbaritem>

               6. Save and close the file.

               7. Generate the help.

             

            You also can replace the button with an image that matches the background of that bar, but then the cursor will change shape when you mouse over that area, indicating that the button is really still there.

             

            To change the color of the bar that is above your TOC and below your Contents, Index and Search buttons:

            1. Find the skin (.skn) file in  ProjectName\!SkinSubFolder!\SkinName\skin_name.skn.
            2. Open the file in Notepad.
            3. Search for <pane name="MiniBar Pane">.
            4. Two lines below that, change the <color> tag to the color you want (probably the background color of your TOC). For example, <color>background:#FFFFFF</color> makes this bar white.
            5. Save and close the file.
            6. Generate the webhelp to see the background color of this bar is white.
            • 3. Re: Can you disable user's ability to collapse navigation bar?
              stephenure Level 1

              But this part...

              To change the color of the bar that is above your TOC and below your Contents, Index and Search buttons:

              1. Find the skin (.skn) file in  ProjectName\!SkinSubFolder!\SkinName\skin_name.skn.
              2. Open the file in Notepad.
              3. Search for <pane name="MiniBar Pane">.
              4. Two lines below that, change the <color> tag to the color you want (probably the background color of your TOC). For example, <color>background:#FFFFFF</color> makes this bar white.
              5. Save and close the file.
              6. Generate the webhelp to see the background color of this bar is white.

               

              ...does not work...