These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Acrobat pop-up menu not working

rkpdfmaker
Registered: Jul 29 2010
Posts: 8
Answered

Hi all,

I have created a PDF which has a javascript generated pop-up menu within it. When you click on the required area a pop-up menu appears which gives you the ability to insert an image using the following script:

event.target.buttonImportIcon();

I have extended the features for the client as they have Adobe Reader 9 for PC. This has been thoroughly tested at my end on both Mac and PC towers but for some reason when sent to the clients laptop (and indeed tested on a PC laptop at my end) and they click in the required area the menu does not pop-up. All other functions including those using javascript function as expected.

I have ensured that they have Javascript enabled in there PDF preferences.

I would be grateful for any suggestions.

thanks
rkpdfmaker

rkpdfmaker
designer

My Product Information:
Acrobat Pro 9.0, Macintosh
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
Have you looked at the 'Quick Bar' in the Acrobat JavaScript JavaScript API?

There is a big 'X' in the box for available in Reader box. In the description for the boxes of the 'Quick Bar" the "X" has the following meaning:

"The property or method is not allowed in Adobe Reader but is available in Acrobat Professional and Acrobat Standard."

So it appears this method is not available to Reader.

George Kaiser

rkpdfmaker
Registered: Jul 29 2010
Posts: 8
OK thanks, I have found the Javascript API document and now I understand why it won't work (I thought extending the features to reader would get around this). My problem now is that I need to have this functionality in the PDF but my client only has access to Acrobat Reader. I have had a good look at other ways to do this such as addIcon and buttonGetIcon but nothing seems suitable.

To summarise the client will needs to place variable icons or images in set field positions within the PDF but I do not currently know how they can do this on Reader.

Is this possible? As always I would be grateful for any tips.

rkpdfmaker

rkpdfmaker
designer

UVSAR
Expert
Registered: Oct 29 2008
Posts: 1357
http://cookbooks.adobe.com/post_Creating_an_Acrobat_form_field_that_accepts_graphi-16527.php