-
Posts
2 -
Joined
-
Last visited
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Posts posted by Kahler123
-
-
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 -->
Before and After Slider not working
in Customize with code
Posted
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.