Copy link to clipboard
Copied
Hi there
Much appreciate your help on the 2 issues below:
1. Popup menu doesn't work in Foxit Reader 9.2
I have created a pop up menu button which can direct you to the bookmarked destination in the doc should you click on the corresponding menu item. It works just fine in Acrobat Pro DC. However, wheb opening the file in Foxit, the menu is displayed just fine but when clicking on the items, the navigation doesnt work.
Pls see attached pdf for example.
2. How to mark selected menu item
This is how I want it to work:
Once an user:
- click on a menu item that leads to the destination page, OR
- be at the destination page by simple scrolling
if they click on the Menu button of that page, they will see the corresponding menu item and all of its parent menu items marked. The mark can be either a check before the text or bold text.
For example: Take a look at the picture:
If the user is on page Test 0, then when they click on the Menu button of this page, they will see all "Test A", "Test A.1" and "Test 0" marked.
Thank you guys in advance!
Copy link to clipboard
Copied
Copy link to clipboard
Copied
1. Agreed
2. That is possible, actually, but would require a more complex script that will set the bMarked property of each item in the drop-down based on the current pages number and on a list of pages in each category.
Copy link to clipboard
Copied
1. Agreed
2. Why do you want to reinvent the wheel? You are trying to reproduce the way bookmarks work (bookmarks works fine with Foxit too).
Copy link to clipboard
Copied
Thank you all for your response.
Regarding the 1st issue, I have experienced it before. Back then I used the app.popupmenu function to create the menu and its submenu. It worked fine in Acrobat but displayed only the main menu (no submenu) in Foxit. When I changed to app.popupmenuEx, the display is fine in both viewers.
So I suppose there must be a function to execute the menu item that works in both Acrobat and Foxit.
For some background, I have absolutely no experience with javascript. I just googled what I want to do, then try to read the codes I find + modify them so that I get the desired outcome. So pls bear with me 🙂
The reason why I wanna create a menu button is because the end-result pdf is circulated to a huge audience (thousands) and I cant make sure they all know about the bookmark tab. So I figure it's easier to create a menu button on each page for them to navigate.
Copy link to clipboard
Copied
app.popupmenu is obsolet.
Copy link to clipboard
Copied
You can set a PDF to display the bookmarks panel when opening.
It works fine with Foxit too.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more