Skip to main content
Participant
August 9, 2021
Question

Javascirpt that creates hover over button

  • August 9, 2021
  • 2 replies
  • 979 views

Hello,

 

I am new to this forum and I have no experience with Javascript, So I might be asking the wrong questions in the wrong place. I am trying to work out a)if it possible and b) how do I go about find resource to do it.

 

I have a pdf drawing with coded text. (eg DR01 which standard for a SOLID FIRE DOOR) This requires the reader to constantly refer to the legend (which may be a different document) to understand what they are looking at. I want to use a CSV file with a list of CODEs, DESCRIPTIONs to be read by the javascript script. The script will then search for each of the CODEs in the PDF and create a button (with no border or fill) at every location where the CODE occurs and it will show the DESCRIPTION as you hover over it.

 

I thank you all in advance.

This topic has been closed for replies.

2 replies

Amal.
Community Manager
Community Manager
August 9, 2021

Hi Zivy

 

Hope you are doing well and sorry for the trouble. As described you want to create hover over buttons using JavaScript.

 

For more information about using JavaScript please check out the help article https://acrobatusers.com/tutorials/javascript_console/ and see if that works for you.

 

Regards

Amal

JR Boulay
Community Expert
Community Expert
August 9, 2021

1. Yes, it's possible.

2. A serious JavaScript learning curve is facing you.

https://answers.acrobatusers.com/Can-I-import-data-Excel-spreadsheet-fillable-PDF-Form-q113686.aspx

http://khkonsulting.com/2015/10/batch-import-excel-data-into-pdf-forms/

 

2bis. You can ask a pro, like me, to do it for you, but it won't be free. In this case send me a private message.

Acrobate du PDF, InDesigner et Photoshopographe