Hover States Help Apr 05, 2021 By Gabriella Grimaldo Wondering if anyone could assist me with this mini-project. I have four icons that when you hover over them, they turn to B&W and a name appears. The problem I'm having is that I can't get the names to stay there once you click on the icons. Any help would be much appreciated! Gabby Derby_Players_Tabs.story
Tom Kuhlmann Staff 3 years ago04/05/21 at 10:35 pm (UTC) I'd get rid of a bunch of those triggers for the text and hover states. Create a hover state for the avatar and paste the text inside (get rid of the triggers before pasting). Create a visited state and paste the text. You won't need all of those triggers if you use visited and hover states since they already know what to do.
Gabriella Grimaldo Author 3 years ago04/05/21 at 11:20 pm (UTC) Thank you! That helped a ton! The only issue I have now is that the first icon that is clicked reverts back to normal :( Derby_Players_Tabs.story
Tom Kuhlmann Staff 3 years ago04/06/21 at 3:33 pm (UTC) You don't need the triggers for states because the states already have triggered actions by virtue of being a built-in state. Delete the triggers for visited and hover states.
Tom Kuhlmann Staff 3 years ago04/06/21 at 3:44 pm (UTC) Here's a quick overview of states. https://360.articulate.com/review/content/60e16824-982e-469c-bdad-1a5703649ea7/review
Gabriella Grimaldo Author Tom Kuhlmann 3 years ago04/06/21 at 4:19 pm (UTC) Ahh okay. I'm so sorry, completely misunderstood. Thank you Tom!
Gabriella Grimaldo Author 3 years ago04/06/21 at 4:37 pm (UTC) Works beautifully. Thank you for taking the time to explain!
7 Replies
I'd get rid of a bunch of those triggers for the text and hover states.
You won't need all of those triggers if you use visited and hover states since they already know what to do.
Thank you! That helped a ton!
The only issue I have now is that the first icon that is clicked reverts back to normal :(
You don't need the triggers for states because the states already have triggered actions by virtue of being a built-in state.
Delete the triggers for visited and hover states.
Here's a quick overview of states.
https://360.articulate.com/review/content/60e16824-982e-469c-bdad-1a5703649ea7/review
Ahh okay. I'm so sorry, completely misunderstood.
Thank you Tom!
Thank you!
Works beautifully. Thank you for taking the time to explain!