Skip to main content
Known Participant
May 9, 2017
Question

Show All Dropdowns Text Button - Need Help!

  • May 9, 2017
  • 1 reply
  • 544 views

I'm using RoboHelp 2017 and the HTML5 output Azure Blue.

In RoboHelp 11 and earlier, we used a skin with a Show and Hide button in the toolbar. This along with some JavaScript expanded or closed all dropdowns on a given topic. Again, the buttons were in a toolbar and not part of the actual topic.

Now, in the HTML5 output, I am trying to do the same thing but with no luck. I can create a show all button using Peter Grainge's "twisty2b.js" but only when I put the button inside the topic. When I place the button in the "functionholder" area (just above the topic), the button does not work.

I have tried various Grainge and van Weelden scripts, put the scripts in various places and made sure the paths were correct, used all sorts of options for the button including simple onClick="show" and other things.

Can anyone please help?

This topic has been closed for replies.

1 reply

Peter Grainge
Community Expert
Community Expert
May 10, 2017

The background here is that I had a twisty script on my site way back that was provided by Tommy Simmons who used to hang around these forums. As browsers changed, that script broke. A colleague of mine fixed it until the same problem arose later. Then Willam fixed it and made many improvements. I wrote it up and it remains on my site. Willam, of course, also put it on his site. The two versions are slightly different in what they do but both work.

Now turning to your problem, it would seem that HTML5 has broken the toolbar option. I'll contact Willam to see if it is fixable in HTML5.


See www.grainge.org for RoboHelp and Authoring information

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Peter Grainge
Community Expert
Community Expert
May 10, 2017

I understand from Willam that this would be several hours work and may be on his site in a few months as a paid for script. His suggestion as an alternative is to add the buttons to a master page and attach that to your topics.


See www.grainge.org for RoboHelp and Authoring information

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Known Participant
May 11, 2017

Ok...thank you to you and William for the help. Yes, I think I will add a show all to a header in the Master Page and see if that works. I believe it will. I'm thinking I might even add CSS and an "absolute" position to give the appearance of being in the Function Holder area. I'll see if that works.

If anyone does get a script and solution I would pay for it. My ideal solution would be to have the existing Print button in the function bar to show all and print.

Thanks!

Mark