Forum Discussion
Print results from a scrolling panel - Javascript help
- 4 months ago
Hi Russell,
Thank you so much for your help—I really appreciate it! I’m encountering an issue with an image (logo.png as broken) in my JavaScript. It’s not displaying correctly during the preview or when prompted to download, which used to work fine before.
I’ve attached the SL file for your review. Could you please check if there’s a script I might have missed? I'm using the same JavaScript you shared previously.
Thanks in advance for your assistance! 😊
Hi Dean,
Take a look at this story file.
- DeanBijis3 years agoCommunity Member
Hi Russell!
Thank you so much! You're the man! 👍👍👍
Cheers,
Dean
- JinaAli2 years agoCommunity Member
Hi Dean,
You can also remove the last line of code that closes the print window. If you remove it, the Print window will appear so students can select a printer, Save to PDF and/or change other print-out settings.
- DeanBijis3 years agoCommunity Member
Hey Russell, thanks again for you help! Appreciate it very much.
Just wondering if it is possible that two separate interactive Q&As/storyline files can build on each other, so that at the end of the 2nd interactive, it prints out the results of the first interactive followed by the results of the 2nd interactive. Basically getting a review of everything that was submitted.Attached is the storyline file of the first interactive.Thanks so much! :)
- DeanBijis3 years agoCommunity Member
Hello Russell,
How's it going? I hope you are doing well.
I need your advice/help on how to display the full text of a learner in the data entry field (see screenshot. The full sentence doesn't display on screen upon preview (so I'm guessing that gonna be like when uploaded as SCORM). Is there a way to make it dynamic and display all the text? Also how can I get rid of the Download button upon clicking download to print?
Thanks a lot!
Dean
- RussellKillips-3 years agoCommunity Member
Hello Dean,
Try increasing the height of the text boxes to around 66px. The text should start to wrap then.
For the download button, Storyline 360 has a new Print Slide trigger.
When clicking the print button, you could have 3 triggers.
1. Set state of Download button to hidden.
2. Print slide
3. Set state of Download button to normal.
- DeanBijis3 years agoCommunity Member
Thank you very much, Russell! It works :) Appreciate it.