Hover & Selected states
Jan 29, 2016
I've been trying to help on of my coworkers with a problem and I think it may take the power of the forum. In a quiz situation, they would like the learner to hover over an option button. When they hover over a specific button, a part of an image will change it's state. If they don't select/click the button, the image reverts back to it's normal state. That part has been easy. Now if they click on the button, they want the image to stay in the same state as the hover state. Not so easy. No matter what we do, that pesky revert selection check box causes the image to revert back to the normal state. I have a simplified sample of how we have been trying to do it. I'm hoping someone has a simple work around. My coworker is planning on 9 buttons.
4 Replies
I've attached a solution. Here's what I did:
Hope this helps!
Hi Mike!
In this scenario, it may work better to have the appearance of the object change by editing the states of the button rather than changing the state of the object dependent on the true/false variable. If you copy the colored object, you can edit the Hover state of the button and paste it. Then if you create a new state of the button titled Selected, you can also paste it there. This allows it to toggle back and forth between selected and not.
If you still have a need for the True/False variable to toggle (maybe needed for scoring?), you can switch the trigger Operator = NOT Assignment and that will toggle between True/False based on whether the button is selected or not. I'm not sure I'll be able to attach the file, but I'll try. :)
Hope this helps!
~Tessa
Hi Mike
here's my two cents worth. I duplicated your 'chosen' state and called it hover and then removed the 'restore' checks in those triggers.
Good luck
Thanks everyone for the solutions. I passed these and am not quite sure which solution they will go with but they all worked pretty darn good!
Thanks again for your help.
This discussion is closed. You can start a new discussion or contact Articulate Support.