#Articulate storyline 3 examples code
The reason this is a handy little code is that you can set up a “pre-test” as well as a “post-test” and no matter which one is attempted (and passed), a result will be sent to your LMS that the course is completed.ħ.
![articulate storyline 3 examples articulate storyline 3 examples](https://articulate-heroes.s3.amazonaws.com/flatui-studio133lb7if.png)
This piece of code sends a completed result to your LMS. Var randomnumber = Math.floor((Math.random()*10)+1) The example below will generate a number between 1 and 10. This piece of code will generate a random number. Var s = fso.OpenTextFile(“C:\\Test.txt”, 8, true, 0) Var fso = new ActiveXObject(“Scripting.FileSystemObject”) This piece of code will save any variable a learner has entered to a text file. This version will also pull through a variable (if you have one) into your message.Īlert(“Welcome back, ” + player.GetVar(“FirstName”) + “.”) This piece of code is a slight variation on the above code. Window.alert(‘You must explore all areas before proceeding.’) As you can imagine this can be used in a number of ways, but one of the most obvious is if you want to create a message that the learner must view all areas before the next button will work. This piece of code will create a popup message to your course. from portrait to landscape) unfortunately you are unable to. A few people have queried whether it is possible to change the page settings (i.e. This piece of code will print the current window to your nominated printer. We have spent hours searching the web and the Articulate forums for pieces of code to make eLearning projects more exciting and interactive, and we thought we would share them with you. Now we are not Javascript experts, however that doesn’t stop us, as we have found many friends out there in the eLearning community who are more than happy to share Javascript code they have written. One of the fantastic features is the use of triggers and in particular Javascript triggers. It’s now our tool of choice when developing eLearning modules. If you have any questions, please share them in the comments.We are massive fans of Articulate’s Storyline product here at That Learning Company.
#Articulate storyline 3 examples free
Want to try something you learned here, but don’t have Articulate 360? Start a free 30-day trial, and come back to E-Learning Heroes regularly for more helpful advice on everything related to e-learning.
![articulate storyline 3 examples articulate storyline 3 examples](https://punamparab.weebly.com/uploads/3/6/8/5/3685086/elearning-example-interactive-timeline-articulate-storyline-dial.png)
The content in this article applies to both Storyline 360 and Storyline 3.
![articulate storyline 3 examples articulate storyline 3 examples](https://i.ytimg.com/vi/OiYin6TLF94/hqdefault.jpg)
![articulate storyline 3 examples articulate storyline 3 examples](https://elearningchips.com/wp-content/uploads/2019/11/int-001-asl-0467-1-pw2.jpg)