I have an image on my page and put some tooltips and addiotional text to the image.
The tooltip element has the onMouseIn and onMouseOut.
In the console:
export function expTooltip_mouseIn(event, $w) {
//Add your code for this event here:
$w(“#expTooltip”).show();
$w(“#expTextexp”).show();
}
export function expTooltip_mouseOut(event, $w) {
//Add your code for this event here:
$w(“#expTooltip”).hide();
$w(“#expTextexp”).hide();
}
But it isn’t working in my preview.
What have I done wrong?
Thanks in advance.