Skip to main content
aser83
Participant
June 5, 2018
Question

Need to know how to open hyperlink in a new window within a browswer

  • June 5, 2018
  • 1 reply
  • 670 views

As the title states, I need to know how to force a hyperlink to open in a new window within a browser.


Our users will be viewing an online PDF training manual that has hyperlinks to YouTube videos. We need one of two things to happen and either solution will be a win for us at this point

1)

How do you make it so these links open in a new window/tab within a browser?

2)

How do you get the users to be placed back at the place in the PDF where they clicked the link? As of now, the links open in the same window. When the user goes back, they are left at the very top of the PDF again.

All help is very much appreciated!


Thanks

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
June 5, 2018

The only way is by using this JavaScript code:

app.launchURL("http://www.adobe.com", true);

However, it will only work when used with Adobe software, and might not work with all browsers...

aser83
aser83Author
Participant
June 5, 2018

I tried that. It does not work within any of the browsers I tested: Chrome, Edge, Opera, Safari, etc. I hope someone has a solution for this.

Bernd Alheit
Community Expert
Community Expert
June 6, 2018

Try the Internet Explorer.