I meant in Rise we have a feature of adding code snippet right? is there something like that in SL , so that if i make a course in that if viewer wants to copy my code, he can do that
I am trying to create a training module on unit testing. I wish to display some code snippets that allows the user to copy and paste the code and run the same in their local machine. I am able to add this functionality in Rise (see screenshot) but unable to add it in storyline. I don't wish to execute any code but rather display the code in a way user friendly way for the users.
5 Replies
SL has a trigger to execute javascript, if that is what you are asking.
I meant in Rise we have a feature of adding code snippet right? is there something like that in SL , so that if i make a course in that if viewer wants to copy my code, he can do that
Put the js in a text box that is hidden until the user clicks on ... whatever.
I am trying to create a training module on unit testing. I wish to display some code snippets that allows the user to copy and paste the code and run the same in their local machine. I am able to add this functionality in Rise (see screenshot) but unable to add it in storyline. I don't wish to execute any code but rather display the code in a way user friendly way for the users.
Here's how I would do it.
This discussion is closed. You can start a new discussion or contact Articulate Support.