Jump to content

Autoplay Carousel Items on Squarespace 7.0

Recommended Posts

Site URL: https://ievaviphoto.com/

I would love testimonials in the following pages to have an autoplay feature, however the code below doesn't work. Any insights why? I use summary blocks - carousel.

These are the pages I'm trying to add the code: 

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
  $(document).ready(function() {
    try {
     var container = Y.one("div#page-section-5f3e088ea1068224988e22e0"); /*change this to the slug of your page*/
     var gallery = Y.Squarespace.GalleryManager.getGalleryByContainer(container);
       "autoplayOptions": {
         "timeout":3000, /*make this higher to decrease speed, lower to increase it*/
         "randomize": true
   } catch (e) {
     console.error("Could not configure Gallery autoplay.", e);
Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • 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.