I appreciate you’re a graphic designer but if you are using Hype maybe you should familiarise yourself with how to use functions within Hype Of course this doesn’t help with writing code.
Here is a quick tutorial for you.
What I am doing here is using a Hype button to call the function that sends the user to the PDF in a new window. You can adapt it for whatever you are using to go to the PDF.
• Create button element in Hype
• In the screen that now opens place the following code
Don’t forget to put your filename where it says “path-to-your.pdf”
• You can rename your function by replacing untitledFunction
• Before we can read this PDF we have to uncheck a few boxes in the resources Panel
At the bottom of this panel (tab) you will see the following.
Uncheck the two boxes - Preload and Automatically optimize when exporting
Now you should have a button that when pressed opens a new window with your PDF
Here is a template for you to look at.
openPDF-in-new-window.zip (337.0 KB)