Uderc programming article aggregator sites

Creating popup menus using bookmarks in acrobat pdf

Tags:
Answers: Have 3 answers
Advertisement
Hi All,
I have a requirment to create a button called "Index" in a pdf.
When I click on that button it should show the popup menu and if I click any of the menuitem in that, it should take me to that particular page. I saw some of the interactive pdf's available on the web and they have this facility. I tried to incorporate this into my pdf, it shows the popup menu item correctly but not taking me to that particular page and throughs an error message.
itemIndex is not defined
3:AcroForm:Index:Annot1:MouseUp:Action1
Below is the code I tried for your reference.
My question: Is there any way to populate this popup menu with the action to go to particular page, from the available bookmarks of a pdf?
Please help me. Thanks in advance.
var itemInedex = app.popUpMenu("Executive summary", "Why backups?", "Defining the data status (consistency)", "New disk technologies", "Understanding disaster recovery and restart and recovery", "Drawbacks with backups", "Backup in mainframe", "Schematic presentation", "For more information")
switch (itemIndex) {
case "Executive summary":
this.pageNum = 0
break
case "Why backups?":
this.pageNum = 3
break
case "Defining the data status (consistency)":
this.pageNum = 4
break
case "New disk technologies":
this.pageNum = 5
break
case "Understanding disaster recovery and restart and recovery":
this.pageNum = 6
break
case "Drawbacks with backups":
this.pageNum = 7
break
case "Backup in mainframe":
this.pageNum = 8
break
case "Schematic presentation":
this.pageNum = 9
break
case "For more information":
this.pageNum = 10
break
Regards,
Muthuraj. D
Advertisement
The best answer: Hi
Thanks a lot. I did not notice that .
Is there anyway to populate this popup menu item from the bookmark list? I did write these bookmarks and page numbers manually.
Regards,
Muthuraj. D

Search

Related articles

Problem in showing dynamically created popup menus in MacOs.

Bookmarks created for elements not selected in Acrobat PDF Maker

Popup Menus from Fireworks to Dreamweaver

Popup Menus in Pages?

Create Hyperlinks in a Form to a Bookmark in a PDF document

ANN Half-hour webinars (free): Hypertext in FM Generated Files (Apr 4)+Popup menus in PDFs (Apr 11)

Creating Bookmarks in a PDF Doc

I have Adobe Acrobat version 11.0.0 installed with Adobe CC.  I cannot download PDFs from the internet (in this case from PubMed National Library of Medicine).  If I try to do this  I get a popup message saying that "ADOBE ACROBAT NPAPI PLUG-IN, VERSION 1

Version 8.1 Can't Activate, Can't Update, Can't create/export NX *.prt Files to 3D PDF. Screen Capture feature does not properly represent Model/Bodies. Printing from NX does not recognize Adobe Acrobat 3D as a printer to try and export.

Two PDF's - 1 created from Illustrator and the other Acrobat. Same colour is different in both. Why?

Recommended article

How can I add a rescue email it my Apple ID?

My iBook G4 will not allow me  to update from 10.1 to 10.7

I have a problem with my mac, lit with blank screen loading bar and then goes out, I need assistencia on line or contact the Technical Support Service in Argentina

I need to access a website that is not Netscape compatible. Where can I get a Firefox add-in that emulates Internet Explorer?

Webdynpro for Java

Why is my  CLEAR_BLOCK(no_validate) not committing to the database?

IPhoto 8 freezes on startup, possibly due to Library data

Canon EOS Utility Software and WIN 7

FP ctr 500 with reed switch

Does 1 year warranty cove a lost ipod??