Skip to main content
Participant
September 27, 2021
Question

How to make Navigation Pane TOC highlight my location/active page as I scroll through body of PDF

  • September 27, 2021
  • 1 reply
  • 725 views

Adobe PDF: The Navigation Pane TOC lets users quickly jump to sections in the document body. But why doesn't the Navigation Pane TOC reflect the active page as users scroll through the body of the document? How do I add this functionality so that regardless of where I am in the body of a PDF and how I got there, the Navigation Bar TOC shows where I am (i.e., the active page)?

This topic has been closed for replies.

1 reply

Bernd Alheit
Community Expert
Community Expert
September 27, 2021

Does you mean the bookmarks? 

Ginger456Author
Participant
September 27, 2021

Yes. It's great to select a book mark from the Navigation pane and jump to that topic in the PDF. But once I scroll to another page, I want the bookmark to change/update in the Navigation pane (like it would in HTML).

 

Thom Parker
Community Expert
Community Expert
September 27, 2021

Well, you do know that HTML does not have any automatic, or built-in, features for syncing bookmarks and pages. Someone had to write the code to do that. As it happens, the HTML scripting model is much richer than the Acrobat Scripting model.  Acrobat has neither the properties or the events for implementing such a feature in any reasonable way.  I supposes you could write a plug-in that would do something like you are describing, but that would require quite a bit of effort. 

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often