Forum Discussion
Changing state of buttons after section is completed.
I have a menu slide with six different topics (buttons). What I would like to happen is when the user clicks on a button, it would link them to a topic and when they complete that topic it would then link them back to the menu page, change the state of that button to visited.
I have created a true/false variable and set it to false and then have placed a trigger on the last page of the section to change it to true.
I then created a trigger on the menu page to change the button from Normal to Visited when the variable is changed to True.
However, when I preview it, the button changes to Visited state when I click on it, prior to going to the section and is back to Normal state when returned to the Menu.
Any thoughts?
Thanks
45 Replies
- PhilMayorSuper Hero
Forgot about that one, the variable must change on that slide for that trigger to work, not on another slide.
Glad you got it sorted
- louisegreenhoffCommunity Member
Thanks Phil. I really struggled with this last time nut managed to recreate what your screenr showed on my own and it works perfectly!!! Many thanks
- InstructionalDeCommunity Member
Can you use this same approach to display a layer (with a checkmark) rather than to change a button state? Or does it have to be a change in state?
- SteveFlowersCommunity Member
Howdy, ID -
You can use the same concept to show a layer. But it might be more manageable to set your checkmark's initial state to hidden and use the trigger to show the Normal state when it meets the right conditions. That way you can manage all of your checkmarks on the base layer. Make things easier to align and distribute.
- Al-RoseCommunity Member
Thank you all so much to Phil Mayor's post on how the change color of the items in a drop down menu after the user has selected it and it has jumped to the slide assoicated with that choice of the drop down menu. I had a 12 item drop down menu to design and it works perfectly.
Thanks to Mike Taylor for turning me on to this post by Phil. Both have contributed to my design. The Storyline community is just wonderful.
Thanks again to all.
Very nice of you to share Al! I agree, great community
- ZubeidaKudoosCommunity Member
Awesome! I was making exactly the same mistake.
- TonyaWeathersCommunity Member
Wonderful! I was working on this problem for hours until I came across this post. Thanks Joe and Phil!
Glad that this thread was able to assist you as well Tonya! Thanks for popping in to share :)
- KyleTrailCommunity Member
Alright, so this is getting a little maddening. I've attached my file here for a brave soul to look at.
Here's what is up:
I'm wanting the tabs on the right to turn gray (switch to "complete" status) and stay that way as people complete the training. Its setup this way as people may complete the sections out of order should they please.
I've set up a completed variable for each section and I have triggers to change the completed variable to "true" when this happens. Any reason why the buttons wouldn't stay grayed out as one navigates around?
Related Content
- 5 months ago
- 2 years ago