Not yet rated

Problem

I have a graph that displays summary data for a number of items. I would like to be able to click on the date in the graph and then be given the option of either jumping to the detailed graphs for Item 1, Item 2 or Item 3.

Solution

The easiest way to do this would be using the app.popUpMenuEx method.

Detailed explanation

app.popUpMenuEx creates a pop-up menu at the current mouse position. Each of the parameters is a MenuItem object that describes a menu item to be included in the pop-up menu.

Examples and a full explanation (as well as the text above) can be found at the URL below.

 

http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.162.html


+
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.

Report abuse

Related recipes