These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

pdf links

Ansjos
Registered: Feb 7 2007
Posts: 2

Hi, I made a .pdf with several links to different websites and when the user have the pdf in the browser and klick on the link I want the link to open in a new tab or window! How can i do that?

My Product Information:
Acrobat Pro 7.0.9, Windows
tedpadova
ExpertTeam
Registered: Dec 31 2005
Posts: 848
If you want a URL link to open in a new browser window, you can't use the Open a web link action in the field properties. You need to use a JavaScript.

Add a button to a PDF document and add a Run a JavaScript action. In the JavaScript Editor, type the following code:

app.launchURL(”http://www.mycompany.com/pdfDocument.pdf”, true);

Where is your URL and pdfDocument.pdf is the document you want to open.

You can read more about this on my blog post at:

[url=http://www.acrobatusers.com/blogs/tedpadova/2006/10/27/opening-pdfs-in-new-browser-windows/]http://www.acrobatusers.com/blogs/tedpadova/2006/10/27/opening-pdfs-in-new-browser-windows/[/url]

ted

The author of numerous books on Acrobat, Photoshop, Illustrator and the Adobe Creative Suite, and an international speaker on Adobe Acrobat, Ted Padova is a well-known PDF guru.