Couldn't find any previous topic that covered this.
I have objects that display a layer when <mouse hovers>
I would like the Hover state of the object to remain (not restore) on mouse leave to indicate it had been hovered over, similar to how the default Visited state works when clicked.
Wondering if there's a quicker method than new states and triggers for the hover action.
Thank you for that. Unfortunately I may have to further clarify what my intention is.
I do want the layers to disappear when cursor leaves the button.
It's the button state of "hovered" that I want to remain after the cursor leaves. I want the user to see that they have already hovered over the button. I suspect there's no way but creating more triggers as the default hover state may be a hard coded item?
I'm using hover to avoid the user having to click to show a layer and then some other action to hide the layer.
In that case, you'll want to create a custom hover state. Then, add a trigger to change the state of the button to the custom state when the mouse hovers over.
Have a look at the updated file I attached for an example!
4 Replies
Hey Drew!
I think this video demonstrates exactly what you're looking for! Let me know if that's what you had in mind. 😊
Thank you for that. Unfortunately I may have to further clarify what my intention is.
I do want the layers to disappear when cursor leaves the button.
It's the button state of "hovered" that I want to remain after the cursor leaves. I want the user to see that they have already hovered over the button. I suspect there's no way but creating more triggers as the default hover state may be a hard coded item?
I'm using hover to avoid the user having to click to show a layer and then some other action to hide the layer.
Ah, okay! I see what you're after.
In that case, you'll want to create a custom hover state. Then, add a trigger to change the state of the button to the custom state when the mouse hovers over.
Have a look at the updated file I attached for an example!
Thanks Alyssa,
I suspected that might be the case, just wanted to make sure there wasn't a function available that I was unaware of.
Your new example is exactly what I am attempting.
This discussion is closed. You can start a new discussion or contact Articulate Support.