Académique Documents
Professionnel Documents
Culture Documents
2.
3. Note a new trigger is automatically created: Set TextEntry equal to the typed value when the control loses focus. This means anytime the user clicks on anything else on the screen, or navigate away from the screen, the value that they entered will be saved in variable TextEntry 4. For easier management, rename the variable to your own variable, ie. answer1. This is done by:
cubicconsulting
5.
Now well create the workbook link so learners can access it, this is done by either creating a button or put the link on the menu tab. Open workbook via button: Create a button Add a new trigger attached to the button Set the Action to Execute javascript
Click the Script button Copy and paste this code: var newWin=window.open("workbook.html", "workbook", "status=0,scrollbars=0,width=820,height=620");
The workbook will open in a new window when the button is clicked
cubicconsulting
cubicconsulting
document.write(q1); document.write("<br><br>"); document.write("Your answer:"); document.write("<br>"); document.write(q2); document.write("<br><br>"); document.write("Your answer:"); document.write("<br>"); document.write(q3); document.write("<br><br>"); document.write("Your answer:"); document.write("<br>"); document.write(q4); 7. Once done, copy workbook.html, publish the storyline project and paste the workbook.html in the published folder
Please note that workbook.html will be erased automatically from the output folder upon publishing the project, so you will need to copy and paste the workbook.html each time you publish the project.
cubicconsulting