export function relaxingImage_click(event, $w) {
$w(“#relaxingImage”).show(“DropIn”);
}
I am trying to use the WIX code on my site for the first time.
I tried some animations examples… like DropIn for example.
So when the image is clicked… the animation supposed to start.
But however, nothing happans. I click the image without any animations.
How to make it work? It seem like none of my wix code works…
Hi, my guess is that the image is already shown, so calling “show” doesn’t do anything. Can you try to hide it instead and see if that works?
Sweet! you were right Tomer!
Do you know how to add a nice animation that looks like tha image pressed?
I want to add a borders to the image or something that looks like the image is clicked when I click it…
Because on my website the user choose a specific image from a list of images
You can play around with showing other elements behind the image when it is clicked, like putting a box behind it and showing it with an animation. I’m not a designer, but I hope that gives you some directions