Forum Discussion
Print results from a scrolling panel - Javascript help
- 3 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! 😊
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
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.
- DeanBijis3 years agoCommunity Member
Hi Russel,
How are you? It's me again and I need your little help with the Javascript of this SL file. I'm having a little trouble having the texts with line breaks appear in the download/print window. Whenever I have two to three paragraphs, it will just capture everything in one single paragraph. I feel like I'm missing something.
THanks a lot!
- RussellKillips-3 years agoCommunity Member
Try this one.
- DeanBijis3 years agoCommunity Member
Thank you Russell! You're a lifesaver!
How can I change the javascript below to print RTL. Really appreciate your help!
Thanks a lot! :)