Hey I looked at the documentation and I'm trying to get only use the plugins that are on the page to make it faster. On the body tag, I see something called animsition, but not sure what that is. Attached is a photo of the body tag and my code(when page isn't loading/blank white)
trying to reduce plugins.js waste, but page won't load
4 replies · opened Jan 25, 2022
Hello,
We recommend removing the following code from the Page:
[ch_pre][/ch_pre]
and all the other js/plugins.*.js related JS File Linkings. Just keep the js/jquery.js and js/functions.js JS Files on the Page and our smart JS Functions will automatically load only the JS Files needed for your Page dynamically. You don't have to manually edit the js/plugins.js or js/plugins.min.js Files. More on this here: http://docs.semicolonweb.com/docs/getting-started/javascript/ .
This is how your Final Code should look like:
[ch_pre]
window.scwJsPath = '../../js';
[/ch_pre]
This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Hey I copied your code onto the webpage and tried a couple of things for a bit, but when i refresh the page or load it, It stays white the whole time.
I'm not sure if this helps, but when i have the plugins active, there's like a fadein animation when it loads(how do i remove this?)
Hello,
Please provide us with a Live URL so that we can check out the exact issue and provide you with more assistance on this. Thanks for your Patience.
Additionally, you can simply remove the .page-transition Class to remove the Page Transition.
Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.
was able to do it by removing page transition
ty
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard