Thursday, December 09, 2004

Deep Linking to PDF Pages from HTML

A quick web trick that I've used lots in the past...

Have you ever linked to a webpage that had an anchor in it? For example, the link url would end in 'something.htm#part1', and the user would be taken to an exact spot in the webpage. This is accomplished by placing an anchor tag at the desired location of the landing html page. Following our example, at some point in the HTML code you would find '<a name="part1">'.

Did you know that you can do the same thing with an Adobe PDF file? Plus, with PDFs - there's no anchor tags involved. Just select your page and location, and link away!

Here is an example:
<a href="http://www.website.com/pdffile.pdf#page=6">
link text here</a>


For a more detailed explanation on how to change the viewer resolution or zoom in to an exact spot on the page, check out this link.

0 Comments:

Post a Comment

<< Home