Hi,
I have a button named “See More Transformations”
This button is above a strip on my page.
The button has a ‘+’ and a ‘-’ button.
When someone clicks on the “+” , the strip expands and when they click on the “-”, the strip collapses back in.
$w.onReady(function () {
$w('#SeeMoreCollapseButton').onClick(() => {
togglebox($w('#SeeMoreCollapsibleStrip'), $w('#SeeMorePlusSign'), $w('#SeeMoreMinusSign'));
});
});
function togglebox(boxElement, plusSign, minusSign) {
const iscollapsed = boxElement.collapsed;
if (iscollapsed) {
plusSign.hide();
minusSign.show();
boxElement.expand();
} else {
minusSign.hide();
plusSign.show();
boxElement.collapse();
}
}
My question is:
When I click the “-” option to collapse the strip, it works. But, it leaves a whole lot of empty space above the footer. How can this be fixed?