Previous | Next | (P-PDF) JavaScript
Topic: bookmark execute
Conf: (P-PDF) JavaScript, Msg: 27437
From: Wilder
Date: 9/21/2001 02:54 AM
I'd like to make a form button that executes a bookmark. I believe the way to do this is via a javascript at the mouse up event. I tried the following code:
tocbm = this.bookmarkroot.children[0];
tocbm.execute;
but I get an error saying "bookmarkroot has no properties". The bookmark I want to execute is the first in the list so I entered [0] after "children". Has anyone successfully done this? I'm working with Acrobat 5.0. Thanks for any help.
Doug