• Register
Welcome to the in5 Answer Exchange! This a place to get answers about in5 (InDesign to HTML5) and make requests.
0 votes
Navigation buttons not working in Google Chrome after navigating to new page.

Here is an example: https://www.herbdoc.com/newsletters/March_2017_Newsletter/0001.html
asked in bugs by (120 points)

1 Answer

0 votes

The navigation is working as expected when I test in Chrome.

Is it possible that you have a Chrome add-on installed that is causing a JavaScript error (check the console)?

answered by (148k points)
Thanks for responding, there are no errors in the console. Also, all of the plugins are disabled.
I think I can replicate it now. Windows-only and only after the first page. Looking into it...
Ok. Not sure why this is wonky. Here are 3 suggestions:

1) Download the latest version and re-export:

2) Try a different page format (e.g., Slider--it would look different in the multifile format, but maybe it will change something under the hood).

3) Add this code as a .js file in the Resources section of the in5 dialog:
$('nav:hidden, nav #backBtn, nav #nextBtn').show();
if(nav.current == 1) $('nav #backBtn').hide();
if(nav.current == nav.numPages) $('nav #nextBtn').hide();

It's actually already in place, but maybe calling it twice will help.