Forum Discussion
AngelaSlyman
2 years agoCommunity Member
Launching PDFs/Hyperlinks from a Course
Hello!
THE ISSUE WE’RE RUNNING INTO: I recently developed a SCORM course that requires a learner to click a button that opens up a PDF. They must click this button in order to progress forward. I ...
JohnCooper-be3c
2 years agoCommunity Member
Hi Angela/Joe
I think there's a slight misunderstanding - I wasn't suggesting opening the pdf as a web object - in fact, quite the reverse. If you can insert the content of the pdf as text and images in a lightbox so the learner can view it, this means it is opened within the Storyline window - not a separate tab.
By adding a JavaScript button in the lightbox - saying something like "Download" you can execute JavaScript that would open the pdf file (that could be loaded in the root directory). The code would then convert it to a binary file and "save" it which would mean the learner had the option to download the file. No file server involved...
If I get time I will create a simple demo and post it here. :)