How do you simulate an overlay at mouseover?

Pierluca Martella shared this question 3 years ago
Answered

I want to simulate the behavior that when I move the mouse on a picture, a transparent layer would show up with some copy on the picture.

Comments (8)

photo
1

Hello Pierluca,


You can use an on mouse enter event type to do so. To start, you'll need to create the transparent layer over the picture and select the hide component option in the properties panel. Then, the on mouse enter event can have an action of 'show' for the transparent layer and 'hide' on mouse leave.


Best,


Luisa

photo
1

Where is mouse enter event in latest version of justinmind?

photo
1

When creating an event, go to Mouse, and scroll down the drop down until you see "On Mouse Enter".

photo
1

I couldn't see mouse event in list of event. I am working in 8.5 version of justinmind. Is there an another name for this event? Can you send me a screenshot of the screen you are trying to convey?

photo
1

Sure - see the screenshot.

photo
1

In 8.5 version there is no such event.You can see in screenshot attached.

photo
1

I see the issue - the on mouse over is only available for non-touch screen devices, like Web. You can't create an 'on mouse over' event for devices like the iPhone, Android phone, or iPad.

photo
1

Okay. got it. Thank you for your help.

photo