top of page
This site was designed with the
.com
website builder. Create your website today.
Start Now
Gallery 1
$w.onReady(function () { $w('#dataset1').onReady(() => { $w('#gallery1').items = $w('#dataset1').getCurrentItem().image $w('#button1').onClick(() => { if($w('#button1').label === 'Gallery 1') { $w('#button1').label = 'Gallery 2'; $w('#gallery1').items = $w('#dataset1').getCurrentItem().image2 } else { $w('#gallery1').items = $w('#dataset1').getCurrentItem().image } }); }) });
bottom of page