Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Sep 27, 2021 Sep 27, 2021

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)?

TOPICS
How to
688
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 27, 2021 Sep 27, 2021

Does you mean the bookmarks? 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 27, 2021 Sep 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).

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 27, 2021 Sep 27, 2021
LATEST

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 PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines