@yisrael-wix Thanks for quick answer and the effect code. I dont really understand whre i should put it and how it works with the context of my codel. This is my code atm:
$w.onReady(() => {
$w(“#button1, #button2, #button3”).onClick(event => {
let src;
switch (event.target.id){
case “button1”:
src = “https://static.wixstatic.com/media/2e0267_36ec5b59cbe84475bc354f682669a68b~mv2_d_1920_1280_s_2.png”;
break ;
case “button2”:
src = “https://static.wixstatic.com/media/2e0267_afc20d596c154096954903cfedead675~mv2_d_1825_1217_s_2.png”;
break ;
case “button3”:
src = “https://static.wixstatic.com/media/2e0267_21284670675a4648aaff36ed04098e2a~mv2.png”;
break ;
}
$w(“#image29”).src = src;
})
})
this makes my images change directly, but without animation. Where shouldi put effects code?
Sincerely