Skip to main content
Inspiring
October 24, 2022
Question

How to open hyperlinks only in one window

  • October 24, 2022
  • 1 reply
  • 142 views

Hi!

 

I've got 20 hyperlinks in one html page. All links are to the ONE pdf file.

Each link differs from other by "page property".

For Example:

link 1: myfile.pdf#page=4

link 2: myfile.pdf#page=10

link 3: myfile.pdf#page=15

link x: myfile.pdf#page=x

 

I want to open all links only in one new page (tab). Is it possible?

I've tried to use different page destinations (same frame, master page, whole page...) But it opens in new one or in the current page. I want to use only one new page.

PS i don't want to use popup frame. It is useless when pdf is about 200 pages.

 

Any suggestions?

 

Best regards,

Anatoly

    This topic has been closed for replies.

    1 reply

    Community Expert
    October 26, 2022

    I gave each link a named target (target="mywindowname") and that opened all the links in the one tab, but I don't know how to get the page to refresh with the new page number.  It's certainly not something you can control with Robohelp. It might be browser specific (e.g. I had to change a setting to open the pdf in the browser, as I prefer viewing PDFs in a dedicated PDF reader.). Perhaps you can control it with javascript somehow, but I wouldn't know where to begin.