RoboHelp 2017 Webhelp
Hello! I wasn't sure if I should post a new topic or reply to an older one. I'm trying to expand all drop-downs following the information from this older post:
Alternately, I wouldn't need to do this if I could copy and paste all content with the drop-downs closed. This isn't RoboHelp functionality, but maybe someone has a browser tip for me. Basically, I used to be able to right-click a topic from the published Webhelp, select all, copy, and then paste (into Word, Notepad, etc). The drop-downs didn't need to be open, but the content inside them was still copied and pasted. We had an upgrade to Internet Explorer, and this no longer works. It also doesn't work in Edge or Chrome. (In all three browsers, I now have to manually open each drop-down in order to include their content when I copy and paste). If anyone knows of a browser setting on Edge, Chrome, or Internet Explorer where I'd be able to copy with the drop-downs closed and capture the content, please let me know. That would avoid me needing to go any further. 🙂
Barring that, I'm trying to use the Show/Hide One button method from the post linked above. No Twisties. In my root project folder I have: btnhideall.gif, btnshowall.gif, and twisty2b.js. btnhideall.gif and twisty2b.js are in the baggage files.
The <head> section of my topic has:
(The ..\..\ matches my css file)
The body of the topic has:
<p><img src="../../btnshowall.gif" name="ShowAll(this)" alt="" style="border: none;"
When I compile and go to the topic with the button, I see the Show All button, but nothing happens when I click on it. (In all three browsers).
Did I miss a step? My topic has lots of preexisting drop-downs, which were created by selecting Insert/DropDown text.
Copy link to clipboard
I think there's an error on Peter's page.
Change name="ShowAll(this)" to onclick="ShowAll(this)".
You might also need to add name="showall" (it's in the code in my project), but I'm not sure.
I know that method has been downloaded lots of times but no one has ever pointed out that error before. I guess they have looked at the project that can be downloaded and spotted it. I have fixed it now.
See www.grainge.org for free Authoring and RoboHelp Information
Copy link to clipboard
Oddly I just got an email notification about this topic though it says it was sent in August... I'm sorry for taking so long, but this does indeed work and thank you very much for your help. 🙂