Visited state on an icon changes when learner revisits the slide-Need help

Oct 29, 2019

Hi! Trouble with a visited state to stick after the learner revisits the slide. I have Resume saved state on the slides and created a variable for visited. So basically, there are tabs at the top of the course. I added states to the tabs to be have an initial state of disabled. But then, change state of the tab to visited when the timeline reaches 3 seconds. Then I have an adjust variable visited to true when the state of that tab is visited. When I preview it, all the actions occur as designed, except if I revisit the tab it reverts to its initial state of disabled instead of keeping the visited one. Please help! Thank you. 

4 Replies
Wendy Farmer
Margery Trudell

When I preview it, all the actions occur as designed, except if I revisit the tab it reverts to its initial state of disabled instead of keeping the visited one

Do you mean revisit the tab in the same session and it's reverting to Disabled? It's hard to say without seeing how the file is setup and what triggers you have.

If the user leaves the slide and comes back to the main slide with the tabs, it may be the trigger you are using,  If you have a trigger 'when variable changes' try changing it to 'when timeline starts' and see if that makes a difference.

Otherwise if you can share the file it will help us help you.

Margery Trudell

Hi Wendy. I have attached the template and I placed under the What tab that after I go back to the previous tabs visited this tab goes back to its disabled state. This happens with the other tabs as well. As soon as I revisit them, they go back to its disabled initial state. Please let me know if you need me to provide more information. Thank you for your time. 

Wendy Farmer

Hi Margery

I think it's because of the way you are using the variable 'visited'. Variables are global to the project so once you set it to 'true' on the first slide, you are not resetting it to false before reusing it again on the next slide. For testing, try creating a new variable for each of the tabs and see if it works as you expect.

Another thought for down the track - it might also be easier to setup the tabs on a master slide.

Margery Trudell

Wendy, thank you for your recommendations. Unfortunately, I am just learning how to create variables. When you say I am not resetting it to false before reusing it again on the next slide, how would that look like? Will you provide this for me? You also mentioned that the variables are global to the project, so do I delete the "set visited equal to True trigger" on all the slides except the first one?  Thanks Wendy!

This discussion is closed. You can start a new discussion or contact Articulate Support.