Hello,
Please could you help me? I have use code for fading in element with time setter.
It is working on Chrome, but Safari shows up the element upfront and then fade in again.
Please what can I do?
Is it possible to fix it?
Thank you so much!
Hello,
Please could you help me? I have use code for fading in element with time setter.
It is working on Chrome, but Safari shows up the element upfront and then fade in again.
Please what can I do?
Is it possible to fix it?
Thank you so much!
Hey Bepartstudio!
Could you please share a code snippet of what exactly you are doing?
Thanks,
J.
Hi Jonathan,
Thank you for your time. When I use
$w.onReady(() => {
setTimeout(() => {
waitForLoading();
}, 2000);
});
function waitForLoading() {
setTimeout(() => {
$w(‘#gallery4’).show(‘FadeIn’);
}, 2000);
}
Or even when I try to find different option and use this code, safari does not show the website and reports the issue. Chrome works good ( try to use landing page as pre-loader)
import wixLocation from ‘wix-location’; $w.onReady(function () { setTimeout(() => { wixLocation.to(“/main”); }, 10000); });
With Lightbox is not working either. I have tried everything which could solve my problem.
Thank you!
Kind regards,
Petra
Hey Petra!
I copied your code and tried to run it myself in a new site, and it worked for me both in Chrome and Safari. Do you get a specific error? What exactly doesn’t work - does the page not load? does the page load but the gallery doesn’t appear?
Check that the gallery’s id is really “gallery4”. Does everything else work when you comment out the code? Can you recreate the problem on a new site? What version of Safari are you using?
I’ll need more details on what exactly goes wrong and what you’ve tried in order to help you understand what’s not working.
Let me know if any of the above suggestions worked for you,
J.
Hi Jonathan,
Thank you for your reply!
Right now I would like to use this code right now and have sort of Landing page.
import wixLocation from ‘wix-location’; $w.onReady(function () { setTimeout(() => { wixLocation.to (“/main”); }, 1000); });
I am using Safari Version 11.1 and the website has been loaded 2 times and almost every third time Safari has issue “the website was loaded again” or “the app has unexpectedly ended” or “there was a recurring problem” It is in my language (slovak)
The id is alright, because it is working in Chrome.
Thank you!
Petra
And please could you explain why it takes 40 and even more seconds on mobile phone? Connection is perfect and I have tried several devices…is it possible to “delete” landing page- main url from mobile version or how can I solve the problem?
Hey Petra!
You wrote this code snippet:
import wixLocation from 'wix-location';
$w.onReady(function () {
setTimeout(() => {
wixLocation.to("/main");
}, 1000);
});
On what page does this code appear?
Can you double check that the url “/main” is correct (typos are very common and can be hard to catch)?
From the error that you described and the fact the you say that site loads very slowly, it sounds like you have a coding error some where. Is this the only code on this page? Is this a copy-paste of that code?
Thanks,
J.
Hey guys, don’t worry if you customize your chrome homepage, Click this link to know more.
https://techcliffe.com/customise-your-chrome-home-page/