PeterS Posted November 20 Posted November 20 Site URL: http://robinclip.com/explore So I've been using the Scrollify plugin on my site for over a year now and today it suddenly decided to stop working. I've tried to isolate the problem in the code but can't seem to find anything. This feature has been working perfectly for over a year as I mentioned which makes me think that it might be a Squarespace update/issue. Thanks, <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/scrollify/1.0.21/jquery.scrollify.min.js" ></script> <script> $(document).ready(function() { $.scrollify({ section : ".page-section", }); }); </script>
Spark-Plugin Posted November 20 Posted November 20 Hi @PeterS, I have just tried using your code, and it seems to be working perfectly. See the attached video for reference. If this is how it should function, then there might be something on your website causing the issue, perhaps another custom code conflicting with this one? Screen Recording 2024-11-20 at 9.43.36 AM.mov - Answered by Iuno from sparkplugin.com
PeterS Posted November 20 Author Posted November 20 Hi @Spark-Plugin, thank you for such a quick response! Yes, that is how it's currently functioning on site as well. The issue is with the scroll speed, its a very delayed time once the scroll is initiated to the next section (it didn't use to be like this). Before today, once you initiated a scroll, the snap to the next section was almost instant. Hope this gives a better insight,
Spark-Plugin Posted November 20 Posted November 20 @PeterS,Thanks for clarifying! How about adding a parameter to adjust the speed? Here’s the updated code, where you can easily adjust the speed, hope it helps. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/scrollify/1.0.21/jquery.scrollify.min.js"></script> <script> $(document).ready(function() { $.scrollify({ section: ".page-section", scrollSpeed: 250 // Adjust the speed here (lower value = faster) }); }); </script> - Answered by Iuno from sparkplugin.com
PeterS Posted November 20 Author Posted November 20 @Spark-Plugin I appreciate you trying to trouble shoot with me, unfortunately I have already tried this and it doesn't change anything (I tried your snippet as well to double check and it didn't change). It's a weird bug, still trying on my end to narrow down the problem but it might be out of my control. Best,
Spark-Plugin Posted November 20 Posted November 20 @PeterS No worries. The speed parameter works on my end, strange it doesn’t on yours. I am on 7.1. - Answered by Iuno from sparkplugin.com
Spark-Plugin Posted November 20 Posted November 20 @PeterS, there you go: Screen Recording 2024-11-20 at 10.08.37 AM.mov - Answered by Iuno from sparkplugin.com
PeterS Posted November 20 Author Posted November 20 (edited) @Spark-Plugin, Definitely an issue on my end.. back to the drawing board. Edited November 20 by PeterS
Spark-Plugin Posted November 20 Posted November 20 @PeterS, Sounds like you're right. If you're not using any additional custom code, you might want to try clearing your browser's cache. If that still doesn't fix the issue, I’d recommend getting in touch with Squarespace support to check your site. - Answered by Iuno from sparkplugin.com
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment