Show something when someone click in Mobile

Hi,

I would like to show a GIF (in head) everytimes someone click on a link in the mobile version (like buttons and the menu). The GIF would be something that shows the website is loading the page. (because there is no loading status bar in mobile with Wix websites …)

I know that I need to use .show but is there an event that would be efficient or another soluce ?

Btw onClick event doesn’t seem to work in mobile with buttons.

Thank you in advance.
Melvin A.

Hey!

Check out this article that can be helpful:
https://support.wix.com/en/article/corvid-tutorial-displaying-elements-in-mobile-only

onClick should work fine on mobile. if you are experiencing any issues - that can be due to a layout of your page or some elements overlapping.

You can also use expand and collapse .