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

Open new browser window from a PDF

pjswausau
Registered: Mar 6 2008
Posts: 3

Our organization is creating a PDF for use online. The hope is that we can incorporate links in this PDF for advertisers, that when someone clicks on the ad, a new browser window (from the PDF) will open.

I did not see any posts that described this process (sorry if I missed them). Is this something that is doable? If so, what needs to be done to accomplish? Our people have only a basic understanding of Acrobat and PDFs.

We need help. Thanks!

My Product Information:
Acrobat Standard 7.0, Windows
lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
By default, a URL link opens in the same window if the browser is open and displays a web page. Using JavaScript you can force a URL link to open in a second window. For details on how to do this check out Ted Padova's blog [url=http://www.acrobatusers.com/blogs/tedpadova/opening-pdfs-new-browser-windows]Opening PDFs in a New Browser Window[/url].

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.

pjswausau
Registered: Mar 6 2008
Posts: 3
We looked at the tutorial "URL links in new windows". It looks like we inserted the javascript-- app.launchURL("http://www.mycompany.com/file.pdf", true) -- into the enter URL box and nothing happened.

We use a Windows platform with Acrobat 7.0 Standard software. What are we missing?
lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
When you create a link, select the "custom link" button in the Create Link menu. After pressing the "Next" button you will see an "Actions" tab on the menu. From the "Actions" pulldown select "Run a Javascript" then paste the code into the Javascript Editor window.

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.