Highlighted

Javascript Alert Customization

New Here ,
May 06, 2019

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.

Topics

Acrobat SDK and JavaScript, Windows

Views

562

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Javascript Alert Customization

New Here ,
May 06, 2019

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.

Topics

Acrobat SDK and JavaScript, Windows

Views

563

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Most Valuable Participant ,
May 06, 2019

Copy link to clipboard

Copied

No. You can include graphics in a Dialog object, though.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Advocate ,
May 07, 2019

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Most Valuable Participant ,
May 07, 2019

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Advocate ,
May 07, 2019

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Community Professional ,
May 07, 2019

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Community Professional ,
May 07, 2019

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. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Resources
One Stop Solution for Acrobat
Edit a PDF
Add a group