• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Open hyperlink into the self page with embed API

New Here ,
Apr 17, 2024 Apr 17, 2024

Copy link to clipboard

Copied

Hi,

I'm using the embed API to display pdf in inline mode so the pdf are greatly integrated to the page. But those contains hyperlinks to another web page and when users open them, a new window is open in the browser and I would like to open that in the current tab. Is there a way to either :

- chose between target _blank or _self

- catch the event and prevent the link to be open to open it myself with Javascript

 

If you want to visit the pages https://www.carenity.co.uk/give-my-opinion/surveys-completed

TOPICS
PDF Embed API

Views

87

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
no replies

Have something to add?

Join the conversation
Resources