I have a color selection in a repeater (connected from a datasheet) with a linked button on top where I want the border to stay visible once the button is clicked (like it does so when hovering over it [please see yellow icon for reference]).
I was able to single out the clicked button (and change the border color) but can’t manage that the border stays visible… any ideas? Thanks in advance.
Thanks for your feedback but it didn’t work and the linked onmouseout function is also not a viable solution. I currently found another workaround where I just swap the icons to a “clicked” version. I’m still looking for a better and leaner solution though.
@volkaertskristof
Velo-Ninja’s answer and the stated code is nearly identical to mine and it just didn’t do anything. The borders kept popping up only when hovering over it but wouldn’t stay once the button is clicked. The mentioned “onmouseout”-function is also not practical as I need the button to stay “clicked”, regardless of where the mouse is. Hope this clarifies things.