CoordinatorDA Posted August 4, 2022 Share Posted August 4, 2022 (edited) Site URL: https://daffodil-grapefruit-9eap.squarespace.com/ Hi Everyone, I would like to ask for help regarding custom javascript libraries. I have uploaded the .js and .css files using SFTP on the scripts folder but it doesn't somehow work like on this demo https://www.cssscript.com/demo/dolly-push-in-effect-scroll/. I would like to integrate this one on my website. The password for my site is test1234. Thank you! Edited August 4, 2022 by CoordinatorDA Wrong Title Link to comment
creedon Posted August 4, 2022 Share Posted August 4, 2022 First issue I can see is you have some JavaScript that is not wrapped in a script tag. const container = document.querySelector('.pushin'); new PushIn(container).start(); I have no experience with pushIn.js so I can only comment on the syntax error I see. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
CoordinatorDA Posted August 4, 2022 Author Share Posted August 4, 2022 Thank you @creedon, I would like to ask if this is the correct way to call a js file? It is located on here Thank you so much! Link to comment
creedon Posted August 4, 2022 Share Posted August 4, 2022 Quote I would like to ask if this is the correct way to call a js file? It looks correct and you can see the URL < https://daffodil-grapefruit-9eap.squarespace.com/scripts/pushin.min.js > is correct as it returns the script. Apparently PushIn is not defined. Although I can see some pushin stuff has been apparently loaded. As I say I don't know anything about this software so I can only relate the errors I'm seeing but not how to correct them. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment