Skip to main content
Participating Frequently
October 26, 2017
Answered

How do I get a PDF to open in a New Window?

  • October 26, 2017
  • 1 reply
  • 1844 views

Hi there!

 

I'm working on a course where the user needs to be able to open a PDF by clicking a button.

 

Using the "Open URL or file" action, I can get it to open the proper file. However when it does this it opens it in the same window that the course is in. You can get back to the course using the "Back" button on the browser, but that restarts the entire course.

 

I know with javascript I can have it open URLs in new windows/tabs. Is there a way to do the same for a PDF?

 

Thanks in advance!

This topic has been closed for replies.
Correct answer Lilybiri

Will try later on when I have access to CP, am on phone.

Here is the screenshot:

1 reply

Lilybiri
Legend
October 26, 2017

Do younsee that tiny arrow to the right? Open it and you can choose to show

in a new window.

Participating Frequently
October 26, 2017

I'm sorry, I don't see what you're talking about. Would you send a screen shot? Thanks!

Lilybiri
LilybiriCorrect answer
Legend
October 26, 2017

Will try later on when I have access to CP, am on phone.

Here is the screenshot: