On_click event Question

I want to have a strip appear when a button is clicked. What is the code to do this if the button ID is MenuTab1 and the Strip id is MenuStrip1?

Hi David,

First of of all you need to hide/collapse the strip via Properties panel:


Then you can use this code sample:

$w.onReady(function () {
	$w("#MenuTab1").onClick(() => {
		$w("#MenuStrip1").expand();
	});

Thanks.