Hello, I have three multi-state boxes that i have coded to expand/collapse when clicking on a vector image on my website. They work great on desktop, but do not expand on mobile. how do i fix this?
Here is an example of the code used in dev mode for my desktop:
$w(‘#VectorImage1’).onClick(() => {
$w(‘#statebox8’).changeState(“Expanded”);
})
$w('#vectorImage12').onClick(() => {
$w('#multiStateBox1').changeState("Collapsed");
})
I had to do this for each individual state box and vector image.
website: