Creating a collapsable text box which is collapsing by mousover

Hey,

I want a collapsable text box which is collapsing when mousover a certain area.
Is there any possibility?

Thanks

$w('#someElement').onMouseIn($w('#collapsibleBox').collapse)
$w('#someElement').onMouseOut($w('#collapsibleBox').expand)

Thanks! Where do I have to type that in? Never used formulas like this on Wix

That’d be in the page code, turn Dev Mode on

Of course, change #someElement and #collapsibleBox to the appropriate element tags you’re using

Thank you! Problem solved