Variables affecting menu item states

Jun 04, 2015

I'm having an issue creating a custom menu. I've created variables to change the states of the text in the menu (normal, selected, visited). I've put references to check the values of the variables, and they are changing, but the targets are not. I'm uploading the file. I've only experimnted with the first page. The menu is on a separate layer.

 

Any help would be appreciated.

4 Replies
Gary Collins

Ok had a quick look. If I understand correctly you want to bold the text in the menu if they already visited that slide.

Lets use Course Introduction slide as the example.

On the base layer you need to adjust your your variable 'Course_Introduction_visited'  to True when timeline starts.

On the menu layer you then set a trigger to change the state of 'Course_Intro_menu' to visited with the condition that 'Course_Introduction_visited' is equal to True.

I updated your file so you can see what I mean. I stripped out some triggers on the base layer for the first slide just so you can see easily what I did.

let me know if this is what you are after.

Walt Hamilton

If this works for you, use it, but I suspect that down the road flakey behavior will show up.  General experience has shown that the built-in states (like visited and selected) also come with built-in triggers. When you write your own triggers to change to those states, frequently they conflict with the built-in triggers. The results are sometimes interesting, but seldom useful.

To solve the problem, copy the Visited and Selected states to custom states with names that are not on the popup list. Delete the built-in versions, and have the triggers show the custom states.

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