Jump to content

Image Comparison Slider Issues, can you help?

Recommended Posts

I've integrated a photography slider for comparing before & afters of construction jobs. It uses the gallery block to create the comparison slider. For some reason though these sliders dont load, and it just shows the two images stacked. If i reload the page sometimes it will work however. It seems very inconsistent, across all browsers and even mobile it'll either work or not.

https://www.rebuildex.com/before-and-after

Here is the tut I followed to implement the comparison slider:

https://www.rebeccagracedesigns.com/plugins

Any suggestions or alternatives would be greatly appreciated!

Link to comment
  • Replies 1
  • Created
  • Last Reply

Really nice idea.

The issue is because the code is not Ajax compatible. Read my explanation and the workarounds available: Why doesn't my code work until I refresh the page?

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
Catch up on all the release notes and announcements 2023 [for Circle members only] (there's a public version here)

Buy me a coffee

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.