Forum Discussion
JessicaDavis-37
4 years agoCommunity Member
Storyline - Printing Learner Text with Javascript - Question
Good afternoon, all!
I'm working on a learner reflection.
2 Problems with the Javascript that I would appreciate guidance on!:
Problem 1
When the user clicks "Print" a small window opens wit...
JessicaDavis-37
4 years agoCommunity Member
Hi Sandeep!! Thank you for sharing this! By extra break, do you mean to remove the </div>?
SandeepGadam
4 years agoCommunity Member
Hi Jessica Davis, I apologize for the delay. Yes, the text from the question didn't appear in the print preview when I just copied and pasted the question content.
As a result, I pasted the text into notepad, eliminated the excess space (/div>), and then changed the text for Question 1 to reflect the actual content of the question in the existing JS code.
Select the text box properties in the SL file and turn on wrap text for both text boxes.
Please refer to the screenshots I've attached, where I've shown where to delete the additional space. After doing this, everything worked perfectly on my end.