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

New window

Participant ,
Nov 04, 2021 Nov 04, 2021

Copy link to clipboard

Copied

I need a pdf link to open in new window.

TOPICS
Create PDFs , General troubleshooting , How to

Views

410

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
1 ACCEPTED SOLUTION
Community Expert ,
Nov 04, 2021 Nov 04, 2021

Copy link to clipboard

Copied

You can't do that. The browser handles the file based on the user's preferences. If they want to download it, it will download. You can force the link to open in a new tab/window (by adding the property target="_blank" to the HTML <A> tag), but you can't force the file to be displayed in it.

View solution in original post

Votes

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
Community Expert ,
Nov 04, 2021 Nov 04, 2021

Copy link to clipboard

Copied

What do you mean by "pdf link"? Is it a link from a PDF file? To a PDF file? To a web-page?

And what do you mean by "new window"? Is it a new window of the PDF application? Browser? Something else?

You've given us very few details...

Votes

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
Participant ,
Nov 04, 2021 Nov 04, 2021

Copy link to clipboard

Copied

I hav 1 aweb page. There is a link to a PDF.

When you click the link, it automatically downloads/

 

I want it to open in a new browser window or tab.

 

Thank you.

Votes

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
Community Expert ,
Nov 04, 2021 Nov 04, 2021

Copy link to clipboard

Copied

You can't do that. The browser handles the file based on the user's preferences. If they want to download it, it will download. You can force the link to open in a new tab/window (by adding the property target="_blank" to the HTML <A> tag), but you can't force the file to be displayed in it.

Votes

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
Participant ,
Nov 04, 2021 Nov 04, 2021

Copy link to clipboard

Copied

LATEST

Thank you

Votes

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