Skip to main content
Known Participant
March 5, 2020
Question

Pop up comments linked to text

  • March 5, 2020
  • 1 reply
  • 462 views

Is there a way to turn a text into a link that pulls up something like a comment box? What I want to do is turn the a few words into a link where if you click on it, it'll pull up an box or something that will explain what you've just clicked on WITHOUT having it pull from anything external. I want to know if this is possible, and if it can be planted within the pdf itself.

This topic has been closed for replies.

1 reply

Chris_N24Author
Known Participant
March 5, 2020

As in if I click on the word, it'll pull up the explanation, then if I click off of it, it'll close that comment box.

Thom Parker
Community Expert
Community Expert
March 5, 2020

Yes, this is possible. One way to do this is with a button (or text) field.  Place a button over the text. Set the button border and background to transparent. Then set the button tool tip to you're popup text. When the user hovers over the text the tooltip will automatically popup.

 

Another way to do this is by using the "Show/Hide a Field" action. This method uses both a link and a button field. Put a link over the text and set the links Action to show the button. The button caption should be set to you're popup text. And the button mouseup action to hide itself.

 

There are other ways to do this with a script, but theses first two are the most supported across PDF viewers. 

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