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

JavaScript for Button-- Please Help

New Here ,
Mar 20, 2019 Mar 20, 2019

Copy link to clipboard

Copied

How do you create a button action that makes the button follow the user as they scroll through the PDF and when clicked it takes them to a specific page?

For example, a button on the side of the document would follow the user as they scroll so that at any point they can click the button to return to the table of contents.

I believe there is some type of javascript involved, but I don't know what it would be. Does anyone know?

Thanks for any help!

TOPICS
Acrobat SDK and JavaScript

Views

85

Likes

Translate

Translate

Report

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 ,
Mar 20, 2019 Mar 20, 2019

Copy link to clipboard

Copied

Put the button on any page of the file or use a bookmark for this.

Likes

Translate

Translate

Report

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 ,
Mar 20, 2019 Mar 20, 2019

Copy link to clipboard

Copied

But then button will stay in one position and won't follow the user as they scroll down. I want something that floats or sticks in the margin but will scroll with the user.

Likes

Translate

Translate

Report

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 ,
Mar 20, 2019 Mar 20, 2019

Copy link to clipboard

Copied

LATEST

May be not possible.

Likes

Translate

Translate

Report

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