Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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...
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Try the Internet Explorer.
Copy link to clipboard
Copied
There's no other way of doing it that I'm aware of. If that one doesn't work for you (most likely because these browsers use their own PDF plugins, not Adobe's), you're out of luck.