Copy link to clipboard
Copied
Hello Everyone,
Greetings for the day!
I'm using RoboHelp 2022.5.28 with a Responsive HTML5 output.
I've created a custom "Next" and "Previous" button using the Custom Buttons option under Output > Templates > Azure Blue > Custom Buttons.
I tried using RH_ShowNext(); and RH_ShowPrevious(); in the OnClick actions, but these functions are throwing not defined errors in the browser console.
It seems the internal JavaScript functions for TOC-based navigation are no longer available or included in the output layout.
Copy link to clipboard
Copied
IIRC those navigation buttons only work when you're in a Breadcrumbs trail - have you defined them & are in a topic that is part of a breadcrumbs path?
Copy link to clipboard
Copied
Can you please help me define these breadcrumbs?
My output shows breadcrumbs, I have just inserted them in the Master page.. and the topics are also part of these breadcrumb path but still Next and Previous are not working.
I am sorry I couldn't understand what exactly you mean to define them. Can you pls help me?
Thanks
Copy link to clipboard
Copied
@Jeff_Coatsworth does recall correctly. 🙂 Next and Previous are for the next and previous topic in the browse sequence.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Yeah, I need to dynamically navigate to the next and previous topics while viewing the HTML output in any browser — but the custom buttons aren’t working as expected.
Any idea why?
Copy link to clipboard
Copied
The buttons built into RoboHelp are Next In The Browse Sequence and Previous In The Browse Sequence. What you are seeking is Next and Previous in terms of the topics viewed by the user, not the same thing.
Breadcrumbs simply show where you are and you can use them to go back. I was wrong to say that @Jeff_Coatsworth recalled correctly.
I think most RoboHelp users let their users rely on the browsers Next/Previous buttons. You can of course create your own buttons but you would need a developer or some googling for the underlying code. I don't think I have seen anyone post working code.
Sorry I can't help you more.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
I got it using:
Thanks for your support
Copy link to clipboard
Copied
@s_weng Thank you for posting the code.. I will look at adding that to my site soon.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now