Skip to main content
May 11, 2011
Question

Expand/Collapse All is not only collapsing the drop-down, it is also collapsing trailing tables

  • May 11, 2011
  • 7 replies
  • 931 views

I've inherited a project from a previous user and she incorporated the "Expand/Collapse All" button. The button is used to expand and collapse images in the topics. They expand properly, but when you "collapse all", the tables that come directly after the image are also collapsing, i.e. disappearing. This does not happen if you expand/collpase the drop-downs individually.

    This topic is closed to new replies. Start a new post to keep the conversation going.

    7 replies

    Willam van Weelden
    Inspiring
    May 11, 2011

    Hi Thomas,

    What version of RoboHelp are you using? Are you using the default RoboHelp drop downs or do you have some custom method? Also, there are several methods of creating show/hide buttons: In the topic or in the toolbar. There are also several methods for either type of buttons. (See http://www.grainge.org/pages/authoring/twisty/twisty.htm) Do you know which method you are using?

    My guess is that the JavaScript you are using for the buttons needs some fixing, but I can't say without looking at a topic and the script you are using. Could you create an example project with one or two topics that illustrate your problem?

    Greet,

    Willam

    May 11, 2011

    Thanks for your response. I'm using RH8 and am somewhat new at this. A previous employee set this up and I've merely been doing updates. Attached is a stripped down version of the .hlp (prp_hlp.htm is in the Webhelp folder). Access the following topic:

    File Maintenance | Additional File Maintenance | Job Description Names

    There are two tables on this screen - one is under the fieldname "Type", and the other is under the fieldname "Responsibility Type". When you click "Expand & Collapse", to show the screenshots, all is well. Click "Expand & Collapse" again, to hide the screenshots, and the trouble starts. The tables are missing. To re-surface the tables, click on another topic and then return to Job Description Names.

    Does this help?

    Tom Barclay

    Captiv8r
    Legend
    May 11, 2011