Problems with my expand/collapse items in mobile view!

I have a page where the viewer can view different categories of work by clicking on text which changes the page content using an expand/collapse function. This works perfectly in my desktop view, however I can’t seem to get the onClick functions to work on the mobile view. The page content containers are all on there, but nothing happens when you click the text. Any ideas how I can make this work???
This is pretty time-sensitive so if anyone has any suggestions, please let me know.

If you want to take a look at the page, the url is www.marisaypurdy.com/work. You can change the page content by clicking the “design,” “Illustration,” “photo,” and “other” categories.

Hi,
I’ve accessed your mobile editor and wasn’t able to recreate the issue, as you can see here .
In order for us to successfully review this matter further, and properly assist you, please send us a video of the issue using screencast . Simply recreate the issue while recording the steps. Add the screencast.com URL to your response.

Thank you in advance.

Haha wow I didn’t think you were going to respond so fast! Yes those are actually different pages I set up in the meantime in case I didn’t hear back for a while. Let me change the link back to the page with the problems. I’d like to keep it on one page if possible to make it operate faster.

Alright, sorry about that! You can see it here, I just duplicated it.
www.mypurdy.wixsite.com/marisaypurdysite/work

Hey,

When you access the mobile editor , there are elements that are hidden. Therefore, there are error mistakes when you try to use hidden elements:

You can either unhide those elements or write different code for your mobile site using the Wix-Window API .

Good luck,
Tal.

I found this out too. I find it a weakness. The code executes line by line. The moment it runs into an error, it STOPS. HARD STOP. so regardless of what type of error you have in there, even an extra typo letter, your code will not run basically and just STOP and throw an exception with code area expanded in preview mode. I have requested Wix provide us with more clarity and more details such as line numbers where errors are located in that feedback the preview Code mode provides so we can quickly go about fixing it instead of manually parsing 100s of lines of code or larger amounts at times to find where we fat fingered something.

In your case, I would hope the area would throw an error that would clearly state you have a hidden item on mobile that is preventing the code to run properly. They are working on it. But I find these features to be of high priority as it will significantly improve our day to day productivity, save us a lot of hassle and time, and reduce you guys’ own support pressures.

Hi,

First of all, thanks for the feedback, we’ll rethink it.

Meanwhile, you can use the API to now if you’re on mobile or not - see here .

Liran.