I have several elements on my page with mouseIn/Out events that I cannot have in mobile mode for obvious reasons, but no matter how hard I try, the mobile view still shows mouse over events. I have tried using wixWindow to show the hidden boxes in mobile mode to no avail. I have also tried using wixWindow to hide the mouse over boxes in desktop mode (rather than using the priorities box) and only allow mouse over code in desktop mode. This hasn’t worked either. I am relatively new to code, and I just can’t see where I’ve got it wrong. I’ve read through post after post on WixCode and tried what seems like everything, but nothing seems to help. I have posted my code below. Will someone please read it and tell me what a doofus I am?
I appreciate you getting back to me. Thank you so much. I did as you suggested, but this has somehow disabled all of my mouse overs including on desktop, and my text boxes are completely hidden, now. What do you think could be causing that? Would you like to see my code again?
Hi,
Have you tried simply hiding the elements on the mobile editor ? These elements should be hidden on your mobile site only. If it doesn’t help, I would check the IDs of the elements to make sure that you hide the correct elements.
Thanks, Tal, but I want these elements to show, not hide, in mobile mode. I know the ID’s are correct because my mouse over code works. However, I want it to only work in desktop mode, but my form factor code doesn’t seem to be working. Do you have any advice to that end?
I would really appreciate you having a look.
(link temporarily removed)
I have not yet published this site as I want to get everything running smoothly first. The specific page in question is called “Our Strains”. Everything functions as designed when in desktop mode, but in mobile mode, the boxes that should be shown are hidden and also show a mouse over event. I have tried several variations of the code you will find to no avail which leads me to wonder if the form factor is coded wrong or if the mobile emulator just doesn’t recognize the code. Please help in any way you can. Thanks, Tal!
Hey,
I’m truly sorry for the delay. I saw that you’ve removed the link.
You can send me the link of the editor in case you don’t want to publish the site. This way, I will be able to view your code without others being able to view your site.
Thank you so much for your promptness. I tried Ohad’s suggestion when I was first advised, but was unsuccessful. I have since been manipulating the code to see what will work. I will try it again to see if I did it wrong the first time. Do I need to specify the form factor for each mouseIn event? That is what I did last time.
I have applied the form factor code to each MouseIn/MouseOut event and had the same result. All of these boxes are now hidden and inaccessible in preview mode. I tried using the hidden on load check box in the properties box instead of coding them to hide, but that made no difference. It’s like all of my events are inert. Can I bother to look again to see what I’ve done wrong please?