I am creating a “Microsoft Word” document (using word 2007) with hyperlinks to other Word documents. I will then save the word document as a PDF file using Word 2007. This PDF file and the other word documents will be uploaded to a website used for our curriculum. When I access the PDF file on our curriculum website it opens in a new browser window with Adobe Reader. When I click on the links in the PDF file the word documents open in Word but the browser window with Adobe Reader disappears. What I am trying to achieve is to have the second browser window stay open so the trainees using this web page will be able to click on the other hyperlinks on the PDF file to get to all of the links without having to re-open it each time. How can I accomplish this?
I have Researched in help and web forums, the only reference I can find is to uncheck the box next to “Open cross-documents in the same window” in preferences in Adobe. Which I have done and restarted my computer. I also noticed a preference “show each document in its own window” which is checked.
I keep reading on this forum about Javascript and app.launchURL. These two things really sound out of my expertise.
Does anyone have any suggestions of things I could try or know of any solutions? Please help. BTW I am using Internet Explorer.
Create a button field or link and in the Action tab, select Run a JavaScript from the Select Action pull-down menu. Click the Add button to open the JavaScript Editor and type the following code in the Editor window:
app.launchURL(”http://www.mycompany.com/pdfDocument.pdf”, true);
In the above code, replace www.mycompany.com with your URL. Replace pdfDocument.pdf with the name of the PDF you want to open. The true statement triggers opening the PDF in a new browser window.
This tip was taken from Ted Padova's blog at: http://www.acrobatusers.com/blogs/tedpadova/2006/10/
Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.