• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Expand all drop-downs RoboHelp 2017 or copy all without opening

Community Beginner ,
Jul 07, 2021 Jul 07, 2021

Copy link to clipboard

Copied

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:

https://community.adobe.com/t5/robohelp/expanding-collapsing-all-instances-of-drop-down-text-in-a-to....  And having trouble.

 

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:

<script type="text/javascript" language="JavaScript" src="..\..\twisty2b.js"></script>

 

(The ..\..\ matches my css file)

 

The body of the topic has:

<p><img src="../../btnshowall.gif" name="ShowAll(this)" alt="" style="border: none;"

 

                         border="0" /></p>

 

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.

 

Thanks!

Views

81

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 07, 2021 Jul 07, 2021

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.

Votes

Translate

Translate
Community Expert ,
Jul 07, 2021 Jul 07, 2021

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 08, 2021 Jul 08, 2021

Copy link to clipboard

Copied

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

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 15, 2021 Dec 15, 2021

Copy link to clipboard

Copied

LATEST

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. 🙂

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp