Copy link to clipboard
Copied
Can the javascript alert box be coded so as to display a graphic or a thumbnail of a hyperlinked destination ?
Our use of Acrobat is primarily with PDF AutoCAD drawings. Our goal is to hover over hyperlinks and bring forth thumbnails of the area hyperlinked, prior to actually going to that destination.
Copy link to clipboard
Copied
No. You can include graphics in a Dialog object, though.
Copy link to clipboard
Copied
It may lead to other issues, but if you can replace the hyperlinks with fields, you would have more events at your disposal (such as MouseEnter and MouseExit, which would allow to show/hide other fields, and to load a premade graphic.
Copy link to clipboard
Copied
This is not something you can do in an alert or dialog. You're referring to a regular form. That is a better way of doing it, but it's not the same, of course.
Copy link to clipboard
Copied
Absolutely correct, and it may lead to a considerable amount of preparing the document. So, it would need some justification to do so.
Copy link to clipboard
Copied
Here's a couple of articles that cover popups in Acrobat JavaScript
https://acrobatusers.com/tutorials/popup_windows_part1
https://acrobatusers.com/tutorials/popup_windows_part5
Alerts, Popups, and Other Devices for Interacting with the User
Copy link to clipboard
Copied
You can do some tricky stuff with a grid of disabled buttons with transparent button faces that cover the page and then when the user mouses over a hyperlink (which is actually another button field) you set the icon for the button nearest but not overlapping the hyperlink to have the face of the PDF you want to link to. There's a lot of prep work but the results are stunning.