Forum Discussion
2 hovers stats at the same time
Hello,
I'am trying to build an interactive table.
On each lines, I would like to have a hover stat to change the color of the line to highlight the line the line
On each cell, I would like to have a hover stat to change the style of the text inside the cell.
I would like the the 2 hover's stats to be active in the same time.
My problem is that I can only have one hover effect a time. Is it possible to have 2 hover stat active at the same time ?
Any feedback is welcome,
Thank you
Attached an example.
- MartinSinclair-Community Member
Hi Jean Baptiste
If I understand you correctly, I think this should allow both the line AND the cell to change to their hover state when the mouse hovers over one of the cells.
The cells will automatically change to their hover state when hovered over as this is a built-in state. I have added the trigger above, to get the line to change to hover state as well. I have included the instruction to 'restore to previous state when the user hovers out' so the line will change back to normal state.
I've then repeated this for the different combinations of lines and states.File attached :)
- JeanBaptisteBOUCommunity Member
It's perfect !
Thank a lot Martin.