Welcome to the in5 Answer Exchange! This a place to get answers about in5 (InDesign to HTML5) and make requests.
0 votes
I've been using the .js file to jump to other pages within my file and it always opens a new window. Is there a way to get it to open within the same window? Thanks.
in how_to by (160 points)
  

1 Answer

0 votes
 
Best answer
Why not simply use a button that links to a page within InDesign?

Go to page method:
https://helpx.adobe.com/indesign/using/interactivity-5.html#make_buttons_interactive

Go to destination method (slightly more setup):
http://stackoverflow.com/questions/12263850/making-a-button-in-indesign-go-to-a-specific-page-in-exported-pdf
by (197k points)
selected by
Simple button open new tab in iOS safari browser. Even when target is _self.
Use the Hyperlinks panel to open "Inside Web App":
https://ajarproductions.com/blog/2015/09/21/how-to-add-advanced-html-hyperlinking-with-in5/

(If you're pointing to a URL, otherwise linking to a page in the doc, as described in question above, no extra step is needed).