Forum Discussion
Disabled state stopping other states from appearing
I have created a navigation page and I have set all the buttons which take users to content to 'disabled' as their initial state, as I want them to listen to the audio before clicking ahead. I then want the state of the buttons to change to visited (which will change the colour of the buttons) when the user clicks each of the buttons, so that when they come back to this page it is clear what content they have visited.
Before I added in the disabled state as the initial state this worked fine, but now the visited state isn't working, even when I've set up the trigger 'set state of button 1 to visited when user clicks button 1'. Any suggestions as to what I might be doing wrong?
- GraceMerittCommunity Member
To add to this, I have tried with and without the additional trigger added and neither works. The hover state works fine though, so I find this odd.
- WaltHamiltonSuper Hero
You said,
I've set up the trigger 'set state of button 1 to visited when user clicks button 1'
I wouldn’t expect this to work, because the disabled state means the object will ignore clicks.
There is a sample that does what you want at this thread:
Use the Restricted Navigation.