Jump to content

jcsport123

Member
  • Posts

    19
  • Joined

  • Last visited

Reputation Activity

  1. Like
    jcsport123 reacted to tuanphan in Summary Block: How can I set the Carousel to "autoplay"?   
    Add to Page Settings > Advanced > Header
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { try { var container = Y.one("#page-section-5f319a27fa5d637772c3c12a"); var gallery = Y.Squarespace.GalleryManager.getGalleryByContainer(container); gallery.setAttrs({ "autoplay":true, "autoplayOptions": { "timeout":2000, /*make this higher to decrease speed, lower to increase it*/ "randomize": true } }); } catch (e) { console.error("Could not configure Gallery autoplay.", e); } }); </script>  
×
×
  • 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.