I'm currently facing a problem with Javascript and the mouse event onmouseover
:
- I've got a first element (svg rectangle) which call a function when mouse is over
- I've got a second element (png image) above this rect (but smaller than the rect)
And the problem is that when the mouse is over the image, the rect doesn't call the function.
It's like the image is intercepting the event to do nothing with it.
I know I could add the event to the image too to solve the problem but is there any way to make the image kind of "transparent" for the mouse event and to transfer the mouseover
event to the underneath element ?