Skip to main content
June 20, 2016
Question

I want an image to appear above/next to text when I hover over it

  • June 20, 2016
  • 2 replies
  • 337 views

Hey,

I am creating PDFs and I want to know if it is possible for me to edit text so that when I hover over the text a small/medium image can display next to the text.

Example:

I have a paragraph where there is the phrase "Ace of Spades". This phrase is highlighted in blue and when I hover over it a small image box is displayed with an image of a Ace of Spades.

Context: I have many specific things I want to mention in my PDF that have a desirable need to be seen when hovered over.

Thank you,

Ziggurat

This topic has been closed for replies.

2 replies

Karl Heinz  Kremer
Community Expert
Community Expert
June 20, 2016

Take a look at this tutorial, which shows how to display "floating text": Floating Text on PDF Documents - KHKonsulting LLC

For an image, you would use the second method (show a hidden text field), but instead of the text field, you will show a hidden button that uses your image as it's button face. To do that, select "icon only" for the button layout. 

try67
Community Expert
Community Expert
June 20, 2016

This can be achieved using a script. You would basically need two buttons: One to hold the image and to show/hide the other button when you hover above it or click it.