# Strip collapses but will not expand! Please help!

**URL:** <https://forum.wixstudio.com/t/strip-collapses-but-will-not-expand-please-help/29442>\
**Category:** Ask the community\
**Tags:** code, question\
**Created:** [October 31, 2020, 12:19pm UTC](https://forum.wixstudio.com/t/strip-collapses-but-will-not-expand-please-help/29442 "2020-10-31T12:19:04Z")\
**Posts on this page:** 2\
**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 31, 2020, 12:19pm UTC](https://forum.wixstudio.com/t/strip-collapses-but-will-not-expand-please-help/29442/1 "2020-10-31T12:19:04Z")

</div>

Hi all,

I’ve read forum and tutorials all-over the place and can’t work this out. My strip “weybridge” is set in it’s properties and collapsed by default. Then I have a button called weybridgebutton which is set to expand the strip. The strip is successfully collapsed on load, but for love nor money I can’t get the strip to expand when I click the button.

It’s the only code on the page so I wonder if I need to add a start or end to the code? I’m pretty new to Corvid so could be missing something obvious.

Pretty desperate to get this sorted and would hugely appreciate any ideas.

Nate

export function weybridgebutton\_click(event) {  
$w( “#weybridge” ).expand();

}

---

<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 31, 2020, 12:32pm UTC](https://forum.wixstudio.com/t/strip-collapses-but-will-not-expand-please-help/29442/2 "2020-10-31T12:32:33Z")

</div>

For anyone who finds this - I gave up on this code and used the below, which worked

$w.onReady( **function** () {  
$w( “#weybridgebutton” ).onClick(() =\> {  
$w( “#weybridge” ).expand();  
$w( “#guildford” ).collapse();  
});

$w( “#guildfordbutton” ).onClick(() =\> {  
$w( “#weybridge” ).collapse();  
$w( “#guildford” ).expand();  
});  
});
