Skip to main content
Known Participant
June 25, 2025
Question

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

  • June 25, 2025
  • 3 replies
  • 300 views

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.

    3 replies

    Peter Grainge
    Community Expert
    Community Expert
    June 26, 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.

     

     

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    s_wengAuthor
    Known Participant
    June 26, 2025

    I got it using:

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

     

    Thanks for your support

    Peter Grainge
    Community Expert
    Community Expert
    June 26, 2025

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

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Peter Grainge
    Community Expert
    Community Expert
    June 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.

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    s_wengAuthor
    Known Participant
    June 26, 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?

    Jeff_Coatsworth
    Community Expert
    Community Expert
    June 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? 

    s_wengAuthor
    Known Participant
    June 26, 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