Is there a way to specify a bookmark and/or page number of a PDF such that the link opens the PDF and goes to that bookmark?
Is there a way to specify a bookmark and/or page number of a PDF such that the link opens the PDF and goes to that bookmark?
Answer from here. I haven't tried it myself.
Yes, you can link to specific pages by number or named locations.
For a specific page by number:
<a href="http://www.domain.com/file.pdf#page=3">Link text</a>
For a named location (destination):
<a href="http://www.domain.com/file.pdf#nameddest=TOC">Link text</a>
To create destinations within a PDF with Acrobat:
1.Manually navigate through the PDF for the desired location
2.Go to View > Navigation Tabs > Destinations
3.Under Options, choose Scan Document
4.Once this is completed, select New Destination from the Options menu and enter an appropriate name
I'm never wrong. I thought I was wrong once but it turns out that I was mistaken.
Web Templates. My Beginner Video Tutorials
My Club. My Album.
My Other Album. My Tutorial.
Here are two simple examples of a linking page (one uses an iframe) and the PDF it links to. The PDF was created with Xara and exported as PDF with option to save the page descriptions as a bookmarks.
Would you mind annotatng the link for green linking arrow of the Xara file and also the code in the iframe with the proper syntax for one of the bookmark name?
[EDIT] Never mind, I got it. Thank you, Bcire.
Last edited by jclements; 05 October 2010 at 09:09 PM.
For clarification for anyone else doing this, I linked to the following:
index_htm_files/PDF1.pdf#page=2
and then placed the pdf file (called PDF1.pdf) in the index_htm_files folder. This link opens the pdf file at page 2.
Eric
I'm never wrong. I thought I was wrong once but it turns out that I was mistaken.
Web Templates. My Beginner Video Tutorials
My Club. My Album.
My Other Album. My Tutorial.
Eric, I got the page number syntax to work but not the bookmark.
Any ideas?
Last edited by jclements; 05 October 2010 at 09:48 PM.
John,
No I can't get it to work either, but I suspect that it is more to do with creating the bookmark in the PDF than linking to it in the xar file. If you have the adobe Acrobat it might be easier to create the correct bookmark. Or it might be possible to create the correct bookmark in the PDF using Xara, and I just don't know the correct syntax. I will have a bit more of a look later.
Eric
I'm never wrong. I thought I was wrong once but it turns out that I was mistaken.
Web Templates. My Beginner Video Tutorials
My Club. My Album.
My Other Album. My Tutorial.
Bookmarks