Jump to content

Jentlemen

Circle Member
  • Posts

    1
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Jentlemen got a reaction from graceelaine in Auto-scroll Gallery (Type - Slideshow:Reel)   
    I managed to write a code using Jquery. It's not to most elegant way,  basically its made to click the next arrow in the slideshow every couple of seconds:
     
    <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> <script> const init = () => { setInterval(() => { $('.gallery-reel-control [aria-label="Next Slide"]').trigger('click'); }, 6000); // change this value to change the speed } document.addEventListener('DOMContentLoaded', init); </script> You can insert this into Code Injection or in to the Advanced section of the specific page the Slideshow is on.

    I haven't tested if this works on any other gallery types by the way.
  2. Thanks
    Jentlemen got a reaction from Najiyya in Auto-scroll Gallery (Type - Slideshow:Reel)   
    I managed to write a code using Jquery. It's not to most elegant way,  basically its made to click the next arrow in the slideshow every couple of seconds:
     
    <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> <script> const init = () => { setInterval(() => { $('.gallery-reel-control [aria-label="Next Slide"]').trigger('click'); }, 6000); // change this value to change the speed } document.addEventListener('DOMContentLoaded', init); </script> You can insert this into Code Injection or in to the Advanced section of the specific page the Slideshow is on.

    I haven't tested if this works on any other gallery types by the way.
  3. Thanks
    Jentlemen got a reaction from Cybergraph in Auto-scroll Gallery (Type - Slideshow:Reel)   
    I managed to write a code using Jquery. It's not to most elegant way,  basically its made to click the next arrow in the slideshow every couple of seconds:
     
    <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> <script> const init = () => { setInterval(() => { $('.gallery-reel-control [aria-label="Next Slide"]').trigger('click'); }, 6000); // change this value to change the speed } document.addEventListener('DOMContentLoaded', init); </script> You can insert this into Code Injection or in to the Advanced section of the specific page the Slideshow is on.

    I haven't tested if this works on any other gallery types by the way.
  4. Like
    Jentlemen got a reaction from kasper.arlund in Auto-scroll Gallery (Type - Slideshow:Reel)   
    I managed to write a code using Jquery. It's not to most elegant way,  basically its made to click the next arrow in the slideshow every couple of seconds:
     
    <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> <script> const init = () => { setInterval(() => { $('.gallery-reel-control [aria-label="Next Slide"]').trigger('click'); }, 6000); // change this value to change the speed } document.addEventListener('DOMContentLoaded', init); </script> You can insert this into Code Injection or in to the Advanced section of the specific page the Slideshow is on.

    I haven't tested if this works on any other gallery types by the way.
  5. Like
    Jentlemen got a reaction from tuanphan in Auto-scroll Gallery (Type - Slideshow:Reel)   
    I managed to write a code using Jquery. It's not to most elegant way,  basically its made to click the next arrow in the slideshow every couple of seconds:
     
    <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> <script> const init = () => { setInterval(() => { $('.gallery-reel-control [aria-label="Next Slide"]').trigger('click'); }, 6000); // change this value to change the speed } document.addEventListener('DOMContentLoaded', init); </script> You can insert this into Code Injection or in to the Advanced section of the specific page the Slideshow is on.

    I haven't tested if this works on any other gallery types by the way.
×
×
  • 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.