Hello, everyone! I have to make one of my blocks on my site with feedbacks like an automatically playing slideshow, and the only solution I found in wix studio is using multistate box. So I have this code, but I need to add fadeoption.
$w.onReady(function () {
var states = [‘box2’, ‘box1’];
var stateNumber = 0;
function slideShow() {
$w('#multiStateBox1').changeState(states[stateNumber]);
if (stateNumber<states.length - 1) {
stateNumber++;
} else {
stateNumber = 0;
}
setTimeout(slideShow,6000);
}
slideShow();
});
Is it possible actually? Or maybe doing this block this way will cause some problems in future? I will attach my design layout for this block, so it will be easier for you to understand what I want in result)
So I will have 8-10 similar states, but with different photos of product, different product widget and different videos, the text in block “indi girls” will be the same on each of them. So the layout is the same everywhere.
Thanks a lot in advance!!