Strip Collapse / Expand on Click

Hi all,

I feel like I’m missing a trick here. Please can someone help me understand what is wrong with the below code? The strips are collapsed successfully, but they do not expand when I click the buttons. This is all the code on my page…

$w.onReady( function () {
$w( “#columnStrip13” ).collapse();
$w( “#columnStrip10” ).collapse();

});

export function button7_click(event) {
$w( “#columnStrip13” ).expand();
$w( “#columnStrip10” ).collapse();
}

export function button8_click(event) {
$w( “#columnStrip10” ).expand();
$w( “#columnStrip13” ).collapse();
}