I would like to create a button which sits within a interactive pdf page that on click will return me to my previously visited page.
As the page will be able to be accessed via numerous other pages the traditional built in Execute menu action is not suitable.
The page which will be displayed (on click of a button) is a series of mattress sizes which i want to be accessable by each bed product in our collection. Once the user has looked at the mattress size guide i want them to be able to return to the bed product that they were looking at originally, without having to then scroll and search.
i found this script:
But allas acrobat was not fond of it.
Thanks in advance.
PDFs are not HTML documents. HTML has no concept of a physical page and PDF only knows a page canvas.
To get the page number one uses the following code:
To set the page number one uses:
this.pageNum = 0; // goto first page
To goto the next page:
this.pageNum = this.pageNum++ // increment the page number and goto that page
To goto the last page:
this.pageNum = this.numPages--; // decrement the total number of pages
To goto the previous page:
this.pageNum = this.pageNum--; // decrement the page number
Thanks for the advice!
I have already managed to do the above navigation methods quite successfully.
I have also since posting this message found the answer via a web document:
It appears that if i tell it to go to previous view it has the same effect as a back button.
Thanks for the speedy response regardless!
Europe, Middle East and Africa