I have a project page where if you hover over a repeater item, a solid rectangle and some text shows up. When the mouse leaves the container, the rectangle and text disappears. How this works it that I have the rectangle and text hidden on load, and appear when it’s moused over. Here’s the code for it:
export function container1_mouseIn_1(event, $w) {
$w('#box1').show();
$w('#text11').show();
}
export function container1_mouseOut_1(event, $w) {
$w('#box1').hide();
$w('#text11').hide();
}
The problem I have is that sometimes the box and text don’t hide on load and all the containers have their text and box showing. Is there a way to fix or prevent this?
Thanks in advance.