Toggling between states in Storyline
Jan 04, 2013
I'm sure there is an easy way to do this but I'm having trouble figuring it out! I have a slide with acronyms and I want the user to be able to click on each acronym to expand on it, and then click again to reduce it, back and forth as much as they want. I've created two states for the acronym - normal (abbreviated) and expanded.
so for example, if the acronym is 'NAD' and you click on it it becomes 'No Abnormalities Detected'.
I built the code as follows:
Change state of 'NAD' to Expanded when the user clicks.
Works just fine. Now how do I allow the user to click on it again to return it to normal state?
I tried adding a similar instruction with conditions, ie:
Change state of 'NAD' to Expanded when the user clicks, if the state of 'NAD' is normal.
Change state of 'NAD' to Normal when the user clicks, if the state of 'NAD' is expanded.
However this didn't work at all. So I changed the order of the two instructions and then it allowed expansion but wouldn't return to normal when clicking again.
Any suggestions how to make this work?