How to make a button to go to
any page in the document

1) Create a button field using the forms tool.
2) Click on the actions tab and add a JavaScript action to the Mouse Up entry.
3a) To go to the next page: this.pageNum++;
3b) To go to the previous page: this.pageNum--;
3c) To go to the beginning of the document: this.pageNum = 0;
3d) To go to the end of the document: this.pageNum = this.numPages - 1;
3e) To go to a specific page in the document: this.pageNum = n;, where n is the page you want to jump to.
3f) To go to a named destination in the document: this.gotoNamedDest("DestName");, where DestName is the name of a destination in the document. In Acrobat 4.0, named destinations can be created by accessing the named destinations panel (Window->Show Destinations) and using the pull-right menu (New Destination). (It's okay to talk about Acrobat 4.0 publicly now as it is announced.)
4) You can use the document zoom property and scroll() method to zoom in on the page and scroll the page to a specific location.

Thanks to Carl 8^) for this code cut.
PDF In-Depth Free Product Trials Ubiquitous PDF

Pitstop Pro

Now graphic arts professionals have even broader and more expert control over their PDF documents. With...

Download free demo

ARTS PDF Aerialist

The ultimate plug-in for Adobe Acrobat and #1 selling product at PDF Store. Advanced splitting, merging,...

Download free demo

Ubiquitous PDF: Planning for unexpected cash

It's the end of the financial year and some lucky souls are expecting a tax return. Whether or not the dollars are stacking up for you, it's worth keeping in mind this new PDF tool from Squawkfox.

July 29, 2010
Search Planet PDF
more searching options...







Download PDF Creator

PDF Resources
Platinum Sponsor
Create & Edit PDF - Nitro PDF Software

ARTS PDF

Silver Sponsors

PDF-Tools QuickPDF: The Unrivaled PDF Developer Toolkit

Get Nitro PDF Professional
Featured Product

NITRO PDF Professional

Built from the ground up, the perfect desktop PDF product for business and enterprise. Nitro PDF Professional has an uncompromising feature set so you can create, combine, edit, collaborate on and...

Featured Event

PDF/A Conference, Rome, 09/29/10

The 4th International PDF/A Conference, organized by the PDF/A Competence Center in Rome, September 29th - October 1st, 2010, features a gathering of the world’s experts on PDF/A. Different tracks are offered, ranging from novice to industry-specific sessions and use cases from different industries.

PDF Store Categories