I am working with pdfs in acrobat and want to be able to execute javascript from a button that I place into the document. I want the button to return the view to focus on the last hyperlink clicked in the document.
For example: Let's say there is a footnote on a page that has a hyperlink that refers to the referenced exhibit which is further down in the document. I want there to be a button that referenced exhibit which would reverse the hyperlink in effect and return to to the source (the citation).
I could do this by hyperlinking back from the source but this doesn't work well if there are multiple references to the source.
Is there a way to do this with javascript? My programming experience is in R, Stata and Java but none of it is strikingly extensive.
<button onclick="window.history.back()">Go Back</button>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.