Tabs template and base layer

Jan 05, 2017

Good afternoon,

I'm working with the tabs template and when the user clicks the previous button from the next slide, it's returning to the last tab visited and not to the base layer. Also, I wanted the tabs to remain in the visited state when the user revisits the page, which I've already done. Just can't get slide to return to base layer and keep the visited state when  the user revisits. Please help!

 

5 Replies
Luke Benfield

Hi Perinda,

If the slide is set to Resume Saved State when revisiting, then yes, the last tab viewed will always be showing.

To get around this and show the base layer, you'll need to go into each layer and add a trigger to hide that layer when the user clicks the next button.

Try doing that first and see if it works. If not, let me know and there is another solution that I know will work for sure using variables. It's a little cumbersome, but works every time. Hope that helps.

Luke Benfield

The Previous Button functions like a back button on a browser. Unless slides are set to Reset to Initial State when revisiting, you'll go back to the same screen you were looking at when you clicked next.

If that didn't work, here is a workaround that should work. It's a little tedious, and someone else from the community may have an easier, more elegant way to accomplish the same thing.

First, create True/False variables with a default setting of False for each tab (ie - Professionalism).

Next, create Adjust Variable triggers on each layer to change a Tab's variable to True when the timeline starts (ie - Adjust variable - Professionalism - =Assignment - Value - True -  When Timeline Starts - Object - That Layer).

Now, on the base layer, create triggers to change the state of each tab to Visited  when the timeline of the base layer starts, all with the condition of that Tab's variable being True.

Change the properties of the base layer to Reset to Initial State.

Maybe give that a try and see if it works for you. If it doesn't then you may need to replace the visited state with a custom state since built-in states are program to function in very specific ways, and we want this state to only do one thing.

Hope that helps.

Perinda Lowe

An update...Luke you were right the first time! I just needed to put things in the right order. So, the Hide Layers had to be on top of the Jump to next slide trigger and now it's working properly! Thanks again for your help. :) Posting a pic, because this was stumping me up. Hopefully will help someone else. Thanks!

 

 

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