We help IT Professionals succeed at work.

Difficulty with "jump links" to PDF files

Terri Alekzander
on
Medium Priority
383 Views
Last Modified: 2012-05-12
I have seen a few responses on HTML linking to sections or pages of a PDF.  However, the solution isn't working for me (#page=PageNumber or #NamedDestination appended to the pdf link).

Google seems to suggest that it may be because the links are to local files (this is a page for our agency intranet where we're linking to specific sections of the HR manual).  Is there a workaround for this?

If it helps, I am using Acrobat 9 Pro to create the named destinations, and the users will be opening the files with Reader 8.  The users will be viewing the page with IE8 so that's what I'm using to test.

The links I have tried:
<a href="I:/filepath/HR_Manual_2011.pdf#Vacation">Vacation Information</a>
<a href="/filepath/HR_Manual_2011.pdf#Vacation">Vacation Information</a>
<a href="I:/filepath/HR_Manual_2011.pdf#page=16">Vacation Information</a>
<a href="/filepath/HR_Manual_2011.pdf#page=16">Vacation Information</a>

All open the file just fine, but it invariably opens to the first page.
Comment
Watch Question

CERTIFIED EXPERT

Commented:
It works for me with Reader9 (I don't have Reader 8 installed anymore). The path I'm using us:

file:///i:/filepath/HR_Manual_2011.pdf

Author

Commented:
That gets me the same results as my other links...opens the file to the first page.  I will install Reader 9 and see if it helps.

Author

Commented:
Nope, I am still getting the same results with Reader 9.
CERTIFIED EXPERT

Commented:
Are your PDF files opened inside the browser or in an external Reader window?

Author

Commented:
In an external Reader window.  I tried to change this to see if it made a difference, but it looks like my Adobe preferences are set to open it inside the browser...I'm going to have to examine IE and see if I have some kind of setting that contradicts this.
CERTIFIED EXPERT

Commented:
I've set it so that documents open in the browser.
CERTIFIED EXPERT
Commented:
I just gave it a quick try, and indeed, when the PDF is opened in an external window, the URL options don't work.

Also, I noticed that you are making a mistake when calling named destinations: You need to use the format
nameddest=thename (e.g. nameddest=Vacation)

Take a look at this document http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf for more information about Open Parameters.

Author

Commented:
Thanks!  I still cannot get my PDFs to open in the browser, but that's another problem for another day...tested it on a co-worker's computer who does have it set to open in the browser and it worked perfectly.  The other users should have in-browser as their default setting.
CERTIFIED EXPERT

Commented:
Do you have Reader and Acrobat installed on the same computer? If so, that could potentially cause problems with conflicting settings.

Author

Commented:
Yes, but they are both set to open in browser.  I'm trying now to replace all the Reader functions with Acrobat and uninstall Reader.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.