Kahler123 Posted July 13, 2022 Share Posted July 13, 2022 Site URL: https://www.tomkahlerphoto.com/shop-presets/presetpack-abyhe Hey there, I'm hoping someone can point me in the right direction. I've been using a code injection to create a before and after slider on my images in Squarespace. I've been using this code (see below) for the past year or so and haven't had any issues. However, as I made a new page to sell my presets and wanting to create some more befores and afters the injection code now doesn't seem to work properly. It works fine on the editing page but as soon as it goes live I have to refresh for the injection code to work. I've read online to turn off the Enabling Ajax, which i have done but this hasn't worked. Unfortunately i don't have any coding experience and got the injection code off a website. I've also tried deleting the code a line at a time as said on website, but no luck. Any help in the right direction would be really appreciated. Cheers, Tom Header: <!-- Facebook Pixel Code --> <!-- End Facebook Pixel Code --> <!-- Image Slider --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script>window.jQuery || document.write('<script src="/s/jquery-213min.js"><\/script>')</script> <script src="/s/jqueryeventmove.js" type="text/javascript"></script> <script src="/s/jqueryrebeccagrace.js" type="text/javascript"></script> <link rel="stylesheet" href="/s/original.css" type="text/css" media="screen" / <!-- End of Image Slider --> Footer: <!-- Image Slider --> <script> $(window).load(function() { $(".sqs-gallery-block-stacked").rebeccagrace(); }); </script> <!-- End of Image Slider --> Link to comment
paul2009 Posted July 13, 2022 Share Posted July 13, 2022 This does look like an Ajax Page Loading issue. Can you try disabling this again? Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Kahler123 Posted July 13, 2022 Author Share Posted July 13, 2022 Thank you for your quick response. I've disabled the Ajax code but still no luck 😞 I have noticed when I click on the website link above, which takes me to the desired preset page, the slider seems to work straight away but wont work when clicking onto the other preset pages on the website. Link to comment
paul2009 Posted July 13, 2022 Share Posted July 13, 2022 It is working for me, now that Ajax is disabled. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? 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