Menu with active links

Feb 29, 2020

I am new to storyline.  I want to create a top menu that shows the active state when you are in that section.  I can't seem to get the logic to work. I set a variable to false, the set it to true on each slide when the timeline starts.  On the master where the menu lives I changed the state of the menu item when the variable is true...but it doesn't work.  

3 Replies
Ned Whiteley

Hi Jennifer,

The attached example should have all the detail you require in order to set up your menu system.

I have used the value of True/False variables to change the state of the menu buttons to include a tick when the relevant section has been visited. I have also used these variables to control access to the menu buttons, so that the user can only access the next one in the sequence.

Once all four sections have been visited, a Continue button appears, which gives you access to the next section.

If you want the user to be able to access the sections in any order or to be able to return to a previously visited section, that is a simple fix which I can explain if necessary.

If you can't follow something that I have done or have any other queries, just get back to me here.

Ned Whiteley

Hi Flavio,

You should be able to set up the menu as a Master Slide and it should work correctly. However, there are a number of areas where it can go wrong if you are not careful when setting it up:

a.  Make sure that your variables are set up correctly on your Master Slide to show completion of each section:

b.  Make sure all of the triggers that change the state of your menu "buttons" are correctly allocated to their appropriate sections:

and not shown as unassigned:

Note: this sometimes occurs when you copy triggers to the Master Slide, in which case you just need to reassign them.

c.  Most importantly (and I suspect this may be where your problem lies), make sure the triggers on each of the Section slides are in the correct order. If you jump back to the main menu before adjusting the SectionComplete variable to True, your check mark will not appear as the variable will not be changed:

Note: When a series of triggers are activated by a single action (e.g. the click of a button) they are processed in order from top to bottom. However, once a trigger is reached that jumps the user to another slide, the current slide loses focus and so no further triggers are processed. This is why your variable would not be changed if its trigger is currently below the "Jump to Slide" trigger.

Hope this helps.

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