Copy link to clipboard
Copied
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
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
I knew it had to be simple -- DUH!!!
Thanks!
Laura
Copy link to clipboard
Copied
Ah, but what if you want to preserve the topic you’ve got open in the right pane?
Copy link to clipboard
Copied
There's one in every crowd, isn't there?
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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)
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!
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
PERFECT!!! Thank you so much for your help!!