About your code:
$w . onReady ( async function () {
await $w ( “#image1” ). hide ()
await $w ( “#image2” ). hide ()
await $w ( “#image1” ). show ()
});
Try it without an await when showing the image like this.
$w . onReady ( async function () {
await $w ( “#image1” ). hide ()
await $w ( “#image2” ). hide ()
$w ( “#image1” ). show ()
});
I think when you await more then 1 element it gets on an pile, the last added to the pile is used first (if i’m correct.
But if u don’t use an await when showing then the first to pile, do what they have to do and then the last element u used wil fire since it doesn’t have await it waits on the others and then when the pile is gone it fires