Hello,
I cannot really figure out what if anything I may be doing wrong here. My code is this:
When url parameter about is present, it is supposed to show a specific box and hide a bunch of other things upon load.
import wixLocation from 'wix-location';
$w.onReady(() => {if(wixLocation.query.param === 'about')
$w('#aboutbox').show("flipin");
$w('#aboutbox').expand();
$w('#aboutbtn').hide("fadeout");
$w('#resultsbtn').hide("fadeout");
$w('#practicebtn').hide("fadeout");
$w('#contactbtn').hide("fadeout");
$w('#title').hide("fadeout");
$w('#abtbtn2').show("floatin");
$w('#resultsbtn2').show("floatin");
$w('#practicebtn2').show("floatin");
$w('#contactbtn2').show("floatin");
$w("#resultsbtn2").enable();
$w("#practicebtn2").enable();
$w("#abtbtn2").disable();
$w("#contactbtn2").enable();
});
This seems to work just fine on desktop. However, on mobile, I end up with btn2s all visible and enabled while that is note how it is supposed to be. I have for now removed this code to fix the site load problem on mobile, but I wanted to report this here and see if I am doping something wrong or if this is something going wrong in the system?
Thanks