Skip to main content
Participant
March 20, 2019
Question

JavaScript for Button-- Please Help

  • March 20, 2019
  • 1 reply
  • 463 views

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!

This topic has been closed for replies.

1 reply

Bernd Alheit
Community Expert
Community Expert
March 20, 2019

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

Participant
March 20, 2019

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.

Bernd Alheit
Community Expert
Community Expert
March 20, 2019

May be not possible.