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

Combo Box link

crash0430
Registered: Jan 24 2008
Posts: 18

I am trying to make a manual. In the manual I need a combo box on every page with a link to every chapter heading for easy searching and scrolling. I am able to make the combo box, but I am unable to make the links work, and I am at a loss. I am currently using the trial version of Adobe 8 prfessional, but I also have life cycle design and adobe 7 if needed.
Any help will be nice.

Thank you

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
There are several ways to do document navigation. To use a combobox or popup menu you have to use JavaScript. The easiest way to code navigation is to simply set the current page number.

For example, if you had a link button, in the button up event you'd set a JavaScript Action with the following code:

this.pageNum = 3;

to set the current page to page 4. In JavaScript the pages start at 0.

I'd suggest using a popup menu, they look and act much nicer than a combobox. Take a look at this article.


http://www.acrobatusers.com/tutorials/2007/js_popup_menus/

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script