Can hotspots have highlighted active states on click?

Kade Schemahorn shared this question 4 years ago
Answered

Similar to CSS :active, I'd like a hit state so that users get feedback on click. Is that possible without hacking it together?

Comments (3)

photo
1

I'd still really like someone to just say, "Oh yeah, it's this setting...". However, I was able to achieve what I was after by simply adding the following to the index.html file of an exported prototype.


.imagemap:active {background-color: rgba(0, 0, 0, 0.2);}


It would be great if this was a toggleable preference in Justinmind.

photo
1

Hi Kade,


You can simulate this behaviour by using a rectangle with no border and no background.


Then you set two events on the rectangle:


1- on mouse down: change the background


2- on mouse up: change the background to no background


I'll forward your request to the development team and we will notify you when we know in which version the feature you are describing is available.


Best,


Marc

photo
1

Marc, thanks for the help.