Can anyone tell me the best way to reveal a menu button only after the learner has completed the training? My training branches in the middle though, learners pick one path that's relevant for them, then come back for the final scene. I wanted the menu button to be on every screen, but only visible after all relevant training has been taken.
Are you looking for a menu button on each slide, or the built in Storyline menu as a part of the sidebar?
There isn't a way to disable or hide the player menu, so following the directions in that one discussion about using restricted navigation would be an option.
If you had a menu button on each slide, you could use states and variables to control it. If it'll appear on every single slide look at adding it to a slide master that is used for all your slides. Here's a basic walk through of what that may look like:
Set the initial state of your button to hidden
Set up a trigger to change the state to normal when timeline starts on the condition that a custom variable "CourseComplete" is equal to True
Set the initial value of "Course Complete" to False
Add a trigger to your last slide to change the value of "CourseComplete" from False to True when the timeline of the last slide starts
Hope that helps and if you get stuck anywhere, share a copy of your .story file and then folks in the community can weigh in with ideas and specifics!
Actually I think I got excited too soon as the menu button does not persist on other screens if you go back or if you visit something on the menu link, something is changing the variable back to false again?
Heres what I did:
I created a True/False Variable called CourseComplete with default value = false
Master slide
On the main slide master I have a text box (inital state = hidden) called menu link that has trigger to show a layer that has the menu links
I created a trigger to change the state of object = menu link to normal when variable changes, variable = CourseComplete, on condition CourseComplete = = Equal to True
I tried variations of setting layer properties on revisits to resumed saved state, or Reset to initial state, not sure that impacts
Last slide
I have a trigger to adjust variable CourseComplete, Operator = Assignment, Value True when timeline starts on object = this slide
Change this trigger to fire when timeline starts and see if that helps.
I created a trigger to change the state of object = menu link to normal when variable changes, variable = CourseComplete, on condition CourseComplete = = Equal to True
Variable changes are observable only on the slide where they happen, so the only slide that fire this trigger and change the state is the one that changes the value of the variable.
Thanks, when I make the change you say (ie new settings shown in attached grab) , the 'button' does not appear at all. In the version I did earlier above, it appeared but dissappeard as soon as I moved away so something was happening to make the variable revert to false again. I was assuming once it was true it would stay true for all slides.
If I am trying to do something that is not possible, can you let me know so that I can stop looking for solution?
Cheers, fingers crossed I'm just missing something?
Is there a trigger on the slide to hide it? If so, it will fire after the master sets it to normal . It should only hide it if the variable is not true.
Hi Walt, I only have the triggers shown on the attachment I sent. The initial state is hidden, as suggested by Ashely. Are you saying I should use a trigger instead to hide and then another to set to normal?
Hi Walt, I have solved it (but I would not have got there without you :-). I moved the trigger from the last learning slide to a single quiz slide (I just use to score completion if people confirm they understood). The button does not appear on this slide only when I click to submit, it then appears on the results slide and then persists. Thanks for keeping with me!
13 Replies
Hi Pat,
This post may help you. You may also want to visit the article Customizing the Menu.
Thanks
Hi Pat,
Are you looking for a menu button on each slide, or the built in Storyline menu as a part of the sidebar?
There isn't a way to disable or hide the player menu, so following the directions in that one discussion about using restricted navigation would be an option.
If you had a menu button on each slide, you could use states and variables to control it. If it'll appear on every single slide look at adding it to a slide master that is used for all your slides. Here's a basic walk through of what that may look like:
Hope that helps and if you get stuck anywhere, share a copy of your .story file and then folks in the community can weigh in with ideas and specifics!
Hi there, this works perfectly. I did not realise this sort of thing was so easy! Will be doing more of this in the future. Thanks
Actually I think I got excited too soon as the menu button does not persist on other screens if you go back or if you visit something on the menu link, something is changing the variable back to false again?
Heres what I did:
I created a True/False Variable called CourseComplete with default value = false
Master slide
On the main slide master I have a text box (inital state = hidden) called menu link that has trigger to show a layer that has the menu links
I created a trigger to change the state of object = menu link to normal when variable changes, variable = CourseComplete, on condition CourseComplete = = Equal to True
I tried variations of setting layer properties on revisits to resumed saved state, or Reset to initial state, not sure that impacts
Last slide
I have a trigger to adjust variable CourseComplete, Operator = Assignment, Value True when timeline starts on object = this slide
Can you see what I have done wrong?
Change this trigger to fire when timeline starts and see if that helps.
I created a trigger to change the state of object = menu link to normal when variable changes, variable = CourseComplete, on condition CourseComplete = = Equal to True
Variable changes are observable only on the slide where they happen, so the only slide that fire this trigger and change the state is the one that changes the value of the variable.
Hi Walt
Thanks, when I make the change you say (ie new settings shown in attached grab) , the 'button' does not appear at all. In the version I did earlier above, it appeared but dissappeard as soon as I moved away so something was happening to make the variable revert to false again. I was assuming once it was true it would stay true for all slides.
If I am trying to do something that is not possible, can you let me know so that I can stop looking for solution?
Cheers, fingers crossed I'm just missing something?
Pat
Click on this icon, and in the column under Use Count click on the number for CourseComplete.
You will see a list of every time the variable is referenced. Use it to track down who is changing it.
It says the same thing for both version of the slide master trigger, use count =1
Used by a slide trigger on "5.4 Help from my It" in "5 Help"
Trigger Text: "Set CourseComplete equal to True When the timeline starts "
Is there a trigger on the slide to hide it? If so, it will fire after the master sets it to normal . It should only hide it if the variable is not true.
Hi Walt, I only have the triggers shown on the attachment I sent. The initial state is hidden, as suggested by Ashely. Are you saying I should use a trigger instead to hide and then another to set to normal?
This is what I get for trying to show off and trouble-shoot by long distance. Can you attach the file, or at least the critical slides?
Hi Walt, I have solved it (but I would not have got there without you :-). I moved the trigger from the last learning slide to a single quiz slide (I just use to score completion if people confirm they understood). The button does not appear on this slide only when I click to submit, it then appears on the results slide and then persists. Thanks for keeping with me!
Glad to hear your all set Pat! Walt, nice job beating me too it. 😉
This discussion is closed. You can start a new discussion or contact Articulate Support.