Hi guys,
I try to disable event executed by clicking on an item in a gallery just in a mobile / ipad version.
i am not so good with coding. could someone please help me out ?
all i want is that when u press on a picture in a gallery on the computer it will be open to an expand mode but wouldn't do it on mobile..
thanks a lot
that is not what i asked for. i know that it can be done, the problem is that i would like to prevent it from opening only on the mobile.
i understand how to create the code to have an impact only on the mobile version, so i just need the code to ignore a click on an item in the gallery.
thanks a lot, that wasn't my question. i try to understand what is the code that i need to write for it to be disabled. when click on the image nothing will happen. could you tell me the code needed for it ?
If you can't do it through Wix Editor own settings within the Desktop and Mobile editor.
https://support.wix.com/en/article/setting-how-gallery-images-open-when-clicked
https://support.wix.com/en/article/customizing-the-layout-of-the-wix-pro-gallery-on-your-mobile-site
Then you will have to do it through code.
https://www.wix.com/corvid/reference/wix-window.html#formFactor
https://support.wix.com/en/article/corvid-tutorial-displaying-elements-in-mobile-only
https://support.wix.com/en/article/corvid-writing-code-that-only-runs-on-mobile-devices