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

Next/Previous Navigation Not Working in RoboHelp 2022.5.28 (Responsive HTML5)

Community Beginner ,
Jun 25, 2025 Jun 25, 2025

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.

247
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 ,
Jun 25, 2025 Jun 25, 2025

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? 

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 Beginner ,
Jun 25, 2025 Jun 25, 2025

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

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 ,
Jun 25, 2025 Jun 25, 2025

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

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
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 Beginner ,
Jun 25, 2025 Jun 25, 2025

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?

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 ,
Jun 25, 2025 Jun 25, 2025

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.

 

 

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
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 Beginner ,
Jun 26, 2025 Jun 26, 2025

I got it using:

  • javascript:history.go(-1);   for Previous
  • javascript:history.go(+1);  for Next

 

Thanks for your support

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 ,
Jun 26, 2025 Jun 26, 2025
LATEST

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

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
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