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

I am looking to add a button to reset the TOC (collapse all books)

Guest
Feb 18, 2014 Feb 18, 2014

Our end users are getting lost in the open books - yes, I realize it's a whole different problem, but I have been asked to add a button to "reset" the TOC books to collapse all the books.

We are using RH 10 and IE 8

I've looked all over for existing javascript that would do that, but I can't find it. Is that something that someone else has done already? I am not a scripting person.

Thanks!

Laura

855
Translate
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

LEGEND , Feb 20, 2014 Feb 20, 2014

Okay, see if this works.

Instead of using the Link option, click the option for JavaScript.

Type the following code into the OnClick field:

parent.location='http://www.desiredsite.com/News_Feed.htm'

Dismiss all dialogs, regenerate and test.

Cheers... Rick

Translate
LEGEND ,
Feb 18, 2014 Feb 18, 2014

Hi Laura

Just create a link that will essentially point to the start page for your WebHelp. Start page opens, things reload and all books are once again collapsed. Easy peasy.

Cheers... Rick

Translate
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
Guest
Feb 18, 2014 Feb 18, 2014

I knew it had to be simple -- DUH!!!

Thanks!

Laura

Translate
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 ,
Feb 18, 2014 Feb 18, 2014

Ah, but what if you want to preserve the topic you’ve got open in the right pane?

Translate
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
LEGEND ,
Feb 18, 2014 Feb 18, 2014

There's one in every crowd, isn't there?

Translate
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
Guest
Feb 19, 2014 Feb 19, 2014

Ok, so not to be a total dunce, but I set a home button on the top toolbar and when you click the button it does take you back to the Index page, but it does it in the frame, so you have 2 topic lists on the left hand side and 2 top toolbars...

It goes away as soon as you click a link in the topics list, but the end users are not going to understand that.

What is the best way to refresh the entire page and not just put the index page in the frame?

Laura

Translate
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
LEGEND ,
Feb 19, 2014 Feb 19, 2014

Hello again

Can you post a screen capture of the skin editor where you are setting the link? That may provide some clue as to how to help.

Odds are you just need to sort ensuring the whole frame is used.

Cheers... Rick

Translate
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
Guest
Feb 20, 2014 Feb 20, 2014

So, I have tried a few different things in the action tab

the actual web address (it's an intranet site ...website_name/index.htm

And just index.htm here (where it says News_Feed.htm)

Capture.JPG

This is a parent/child project -- the newsfeed page is the only page in the parent (and it is the default page) -- the button in the top toolbar takes you to the newsfeed, but we wanted it to refresh the entire page.

Thanks!

Translate
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
LEGEND ,
Feb 20, 2014 Feb 20, 2014

Okay, see if this works.

Instead of using the Link option, click the option for JavaScript.

Type the following code into the OnClick field:

parent.location='http://www.desiredsite.com/News_Feed.htm'

Dismiss all dialogs, regenerate and test.

Cheers... Rick

Translate
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
Guest
Feb 21, 2014 Feb 21, 2014
LATEST

PERFECT!!! Thank you so much for your help!!

Translate
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