Hidden Text not showing when clicking on hoverbox?

Hi there,

I’m trying to figure out an issue that I seem to be having when I try to code a hoverbox to show a hidden text box when clicked. I’ve added boxes to both the text box and hoverbox and set it as such:
export function box5_onClick(event, $w) {
//Add your code for this event here:
$w(“#box4”).show();
}

export function box6_onClick(event, $w) {
//Add your code for this event here:
$w(“#box7”).show();
}

For some reason when I preview, it doesn’t show the hidden text in #box4 or #box7.

Have I messed up somewhere in the coding of this?

Managed to get one of them to work because I had both the box and the text “hidden on load”. Deselected the text to be hidden and that one works ok, but for some reason can’t get the other one to work. Ideas?

Hi Jason,
Please add a link to the page in question, I’ll be happy to take a look.