Forum Discussion
Hiding scenes in the menu
Hello, this example can help you with javascript, thank you for giving me feedback.
- JamesBallard-bf2 months agoCommunity Member
This is an excellent and simple solution. I was able to use this java from the provided sample story. I used it in my storyline project to hide the second scene until the student signs a learning contract in the first scene. This needs to be accomplished prior to getting into the content of this course.
In the first scene, first slide I run the java script at the start of that time line. This will hide scene #2
Javascript to hide scene// Find in the Control Menu Scenes story file above
In a follow on slide the student completes the learning contract I set the trigger when user clicks the button to run this java script and restore the 2nd scene and slides to the menu.
/Javascript to restore scene// Find in the Control Menu Scenes story file above
One note about this method. If you have 3 scenes and hide scene 2 with slide navigation restricted from the "player" configuration menu, you must set trigger the next slide to move from the end of scene 1 to go to scene three.
I really want to thank seb-daubert for sharing this solution.