# Strip Collapse / Expand on Click

**URL:** <https://forum.wixstudio.com/t/strip-collapse-expand-on-click/29431>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [October 30, 2020, 5:41pm UTC](https://forum.wixstudio.com/t/strip-collapse-expand-on-click/29431 "2020-10-30T17:41:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathanjohnfuller](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/nathanjohnfuller/32/19461_2.png) [@nathanjohnfuller](https://forum.wixstudio.com/u/nathanjohnfuller)\
**Post date:** [October 30, 2020, 5:41pm UTC](https://forum.wixstudio.com/t/strip-collapse-expand-on-click/29431/1 "2020-10-30T17:41:33Z")

</div>

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();  
}
