Nav button won't remain selected when slide layer is refreshed

My project contains several layers on each slide. In these layers is content which users can access by clicking on buttons placed on the base layer. To inform the user that they are on a new layer, each layer is set to change the state of the corresponding button to "selected" when the timeline for that layer starts.

The problem that I have encountered is that, if the user refreshes these buttons the navigation loses it selected state and reverts back to its initial state. This occurs even though the layer (and slide) properties are set to resume the layer's initial state. I want the buttons to retain their selected states as long as the user is on that layer.

I hoping this is not an entirely new phenomenon and that someone, somewhere can bale me out of this!

Thanks.

C. Irwin

3 Replies
Ashley Terwilliger

Hi Christopher and welcome to Heroes!

I'm sorry to hear about the odd behavior with your files.

You mentioned the user "refreshes the button" can you tell me how they do that or if that is something you'd like to happen? If the buttons are able to be "refreshed" it sounds like it's working as expected by returning the button to the initial state.

If you're still running into issues with it, can you share a copy of the .story file here for us to look at?

Christopher Irwin

Ashley:

Thanks for responding.

My slides are arranged so that the user refreshes the layers using the refresh button on the seekbar. I agree that, by setting each layer to return to its initial state, the buttons should become unselected. To avoid the button becoming unselected, I have set the layers up to automatically decide upon user return. Unfortunately, now the refresh button on the seekbar does not function.

Help?!

Ashley Terwilliger

Hi Christopher,

It sounds like the rewind button is working as described here:

The behavior of the Rewind button is determined by the “When revisiting” property for each slide. There are three options for this property:

  • Automatically decide: This is the default choice, and it means Storyline will decide automatically whether to rewind the slide or not. Here's the logic: If the slide contains just simple objects and/or audio but no interactivity, Storyline will rewind the slide to the beginning of the slide’s timeline. However, if the slide contains any interactive elements, such as buttons or any other object that includes a visited or selected state, Storyline will not rewind the slide.
  • Resume saved state: This option will always prevent the slide from rewinding.
  • Reset to initial state: This option will always force the slide to rewind.

To change the “When revisiting” property for slides in your story, take a look at this tutorial.

To allow the rewind button to work on a layer, you'll need to enable "Allow seeking" on the layer itself. If you leave the option set to Automatically Decide, Storyline will allow seeking (including pause/play, rewind) on the layer if you've marked any of the following options: Hide objects on base layer, Prevent the user from clicking on the base layer, or Pause timeline of base layer.

In terms of revisiting the layer, Automatically decide is similar to the base layer and means Storyline will decide for you whether to resume the layer where the user previously left off or to reset the layer to its initial state when learners view the layer a subsequent time. Here's the logic: If the layer contains just simple objects and/or audio but no interactivity, Storyline resets the layer to the beginning of the layer's timeline each time the learner views the layer. But if the layer contains any interactive elements, such as buttons or any other object that includes a visited or selected state, Storyline resumes the timeline where the learner left off if they come back to the layer again.

I hope that helps clarify the behavior a bit more.