Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


PDF Embed API - Open Web Page dialog positioning and Pop-ups blocking

New Here ,
Sep 23, 2020 Sep 23, 2020

Copy link to clipboard

Copied

Greetings!

 

I have a few questions about PDF Embed API (embed mode - IN_LINE):

  1. When clicking the link inside embed PDF document, the "Open Web Page" dialog appears, but its positioning is poor - it appears too high (out of user view) and the user needs to scroll up to see it. Can position of this dialog be modified?
  2. "Open Web Page" dialog has the button "Open Link". After clicking on it Chrome browser is blocking it (pop-up blocked dialog appears). How can this be fixed? Is there any solution (e.g, in JS - any event so I can get an URL from this dialog)?

 

Thanks in advance!

Views

396

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
community guidelines
Adobe Employee ,
Sep 23, 2020 Sep 23, 2020

Copy link to clipboard

Copied

Thanks for using PDF Embed API. We appreciate you taking the time to report the issues. We will look into this on priority.

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
community guidelines
New Here ,
Oct 06, 2020 Oct 06, 2020

Copy link to clipboard

Copied

On a related point - if the pdf in question has permission to open weblinks (for example from certain domains, or all), can you turn off the open link dialogue such that the link goes direct to the target?

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
community guidelines
New Here ,
Oct 08, 2020 Oct 08, 2020

Copy link to clipboard

Copied

LATEST

In addition when the site a page in question is displayed on a portrait screen the dialogue is hidden / does not appear and the page freezes when you try to activate a weblink...  See https://www.atlanticshoresseakayakguide.co.uk/events.html for an example demonstrating this.

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
community guidelines
Adobe Community Professional ,
Sep 23, 2020 Sep 23, 2020

Copy link to clipboard

Copied

Can you share the site that shows the issue?

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
community guidelines
New Here ,
Sep 23, 2020 Sep 23, 2020

Copy link to clipboard

Copied

Page with embed PDF - https://www.allot.com/security-for-smb-position-paper/
Links in the embed PDF can be found on pages 12 and 13.

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
community guidelines
Adobe Community Professional ,
Sep 24, 2020 Sep 24, 2020

Copy link to clipboard

Copied

Ok - I see. The top of the dialog is aligned with the top scroll position which puts 1/2 of it under your static header. I'd consider this a UI bug in the viewer but we'll see what Adobe says. Until it's fixed, you might consider listening for "HYPERLINK_OPEN" then hiding the static header allowing the user to click the button then showing it on the next "PREVIEW_PAGE_VIEW_SCROLLED" event, show it again

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
community guidelines
Adobe Employee ,
Oct 07, 2020 Oct 07, 2020

Copy link to clipboard

Copied

Hello, we have taken note of the issues and will work on resolving these.

Thanks!

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
community guidelines