Hi, thanks for your reply. I forgot to add the code when I changed it to a question, sorry about that.
As for ‘WIP’, it just means ‘Work In Progress’ which isn’t too important
This is my first time using the forum so I wasn’t sure how detailed to go. Basically, I have two strips, one above the other. On the top one, there is a button which is meant to expand a collapsed slideshow beneath it, to appear between the two strips. This works perfectly in the preview of the website but when I try it on the published site, the button does nothing. I have seen a lot of mention of datasets and sandbox collections, but I have never used any of these features.
The “button” is really made up of two separate buttons and a vector. They are meant to disappear when the slideshow expands, to be replaced with a ‘minimise’ button.
Here’s the code:
let fadeOptions = {
"duration": 500,
"delay": 0
};
export function button17_click(event, $w) {
$w("#fullWidthSlides1").expand();
$w("#fullWidthSlides1").show();
$w("#button17").hide("fade", fadeOptions);
$w("#button18").hide("fade", fadeOptions);
$w("#vectorImage1").hide("fade", fadeOptions);
$w("#vectorImage2").show("fade", fadeOptions);
$w("#text102").show("fade", fadeOptions);
}
export function button18_click(event, $w) {
$w("#fullWidthSlides1").expand();
$w("#fullWidthSlides1").show();
$w("#button17").hide("fade", fadeOptions);
$w("#button18").hide("fade", fadeOptions);
$w("#vectorImage1").hide("fade", fadeOptions);
$w("#vectorImage2").show("fade", fadeOptions);
$w("#text102").show("fade", fadeOptions);
}
export function vectorImage1_click(event, $w) {
$w("#fullWidthSlides1").expand();
$w("#fullWidthSlides1").show();
$w("#button17").hide("fade", fadeOptions);
$w("#button18").hide("fade", fadeOptions);
$w("#vectorImage1").hide("fade", fadeOptions);
$w("#vectorImage2").show("fade", fadeOptions);
$w("#text102").show("fade", fadeOptions);
}
export function text102_click(event, $w) {
$w("#fullWidthSlides1").collapse();
$w("#fullWidthSlides1").hide();
$w("#button17").show("fade", fadeOptions);
$w("#button18").show("fade", fadeOptions);
$w("#vectorImage1").show("fade", fadeOptions);
$w("#vectorImage2").hide("fade", fadeOptions);
$w("#text102").hide("fade", fadeOptions);
}
export function vectorImage2_click(event, $w) {
$w("#fullWidthSlides1").collapse();
$w("#fullWidthSlides1").hide();
$w("#button17").show("fade", fadeOptions);
$w("#button18").show("fade", fadeOptions);
$w("#vectorImage1").show("fade", fadeOptions);
$w("#vectorImage2").hide("fade", fadeOptions);
$w("#text102").hide("fade", fadeOptions);
}