Previous | Next | (P-PDF) Developers
Topic: How to get page number of specific URL link.
Conf: (P-PDF) Developers, Msg: 31893
From: Jub
Date: 12/20/2001 02:01 PM
If it is okay to get the page number as a result of a user clicking on the link then you could use the event.target.pageNum property of that Link/MouseUp event.
To see this select the Link tool (L).
Right click on a link and select properties.
In the action area choose 'JavaScript' and 'Edit'.
Type in the following...
console.show();
console.println(event.target.pageNum);
OK out and set the Link.
Go back to Hand mode (H) and click on the link...
(Remember that the first page is 0)
Hope that's what you were looking for.
Jub