Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a PDF document that has links in various places to figures/tables that are towards the end of the document. Let's say I have a link on page 2 that you click to go to Figure 7. I have the same link on page 4 when I reference the same figure. How can I create a link that takes me back to page 2 or back to page 4 (whichever was the previous location) at Figure 7 so the reader doesn't need to constantly scroll the whole way back to where they were?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted
+50

You can use Adobe JavaScript to do this. Create a button which runs app.goBack(); on click. This will only work in PDF viewers supporting JavaScript (Adobe Reader does, most others don't).

share|improve this answer
add comment

Acrobat Reader has a "Go back to the previous view" function that can be used by the reader to go back to his previous page, without any extra action on your part.

Otherwise, I cannot see any other solution than inserting links in Figure 7 to go to pages 2 and 4, which is not a very easy solution.

share|improve this answer
    
Thanks for the info, that is what we have advised our users to do. We also started including the figures as separate PDF's so we can just have a hyperlink that opens the Figure PDF and they can have both open at once. It worked well! –  D.R. Nov 8 '11 at 16:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.