Image Hotspot - mouse hover
Submitted by mazzy on Tue, 08/23/2016 - 00:45
Forums:
Hi all!
Give me advice, please.
How can I change mouse event at hotspot from "on click" to "on hover"?
And the second question. Is there any plans to add area selection like Facebook style?
Thank you!
thomasmars
Tue, 08/23/2016 - 09:57
Permalink
Hi,
I suggest creating a pull-request for this. This way it will be available for everyone, and future updates will be compatible. The repository can be found at https://github.com/h5p/h5p-image-hotspots. You can choose your approach yourself, but I would start by adding a semantic option (boolean) to toggle this feature in semantics.json. Then in the script for singular hotspot change the click event to a mouseover event and the coupled mouseout logic, if the semantic.json boolean is checked.
I'm not familiar with Facebook style, but there already exists functionality for hotspots determined by shapes, instead of a button, for instance image-hotspot-question and iv-hotspots. Porting this to image hotspots could be useful with a good design.
I would love to hear how this turns out for you.
Thomas
mazzy
Wed, 08/24/2016 - 10:51
Permalink
Unfortunately, I am not a
thomasmars
Wed, 08/24/2016 - 12:42
Permalink
There are no concrete plans
There are no concrete plans to implement this. Your best bet for getting this implemented is to develop it yourself, hire an H5P consultant or hope that somebody picks up on your idea and loves it so much that he wants to create it :)
rmamiya
Thu, 01/23/2020 - 00:11
Permalink
mouse over for text in course presentation
Hi,
I'm kinda new with this and using it for a study. Is there any simple way to create mouseover text over text on a "course presentation"?
Thanks!
Rachel
BV52
Thu, 01/23/2020 - 17:58
Permalink
Hi Rachel,You can check this
Hi Rachel,
You can check this documentation for details.
-BV