Okay
  Public Ticket #951143
Autoplay slides in 'Our capabilities' section
Closed

Comments

  •  2
    Matt Janes started the conversation

    Hi, is it possible to make the slides in the 'Our capabilities' section (UX Design etc) automatically animate, so that they scroll without user input?

    Many thanks
    Matt

  •  2
    Matt Janes replied

    Hi, is this support centre still active?

  •  5
    Nick replied

    Hey Matt,

    To enable this feature you need to go to your 'js/main.js' file and find the sliders section in the code beginning on line 123. You will find the following options for this slider:

    $(".rsDefault").royalSlider({
            // general options go gere
            arrowsNav: false,
            fadeinLoadedSlide: true,
            controlNavigationSpacing: 0,
            controlNavigation: 'bullets',
            transitionType: 'fade',
            loop: true,
            controlsInside: false,
            sliderDrag: false,
            navigateByClick: false,
            addActiveClass: true,
            autoHeight: true,
            transitionSpeed: 250,
            block: {
                moveEffect: 'none'
            }
        });
    

    This needs to be changed to:

    $(".rsDefault").royalSlider({
            // general options go gere
            arrowsNav: false,
            fadeinLoadedSlide: true,
            controlNavigationSpacing: 0,
            controlNavigation: 'bullets',
            transitionType: 'fade',
            loop: true,
            controlsInside: false,
            sliderDrag: false,
            navigateByClick: false,
            addActiveClass: true,
            autoHeight: true,
            transitionSpeed: 250,
            autoPlay: {
                // autoplay options go gere
                enabled: true,
                delay: 3000
            },
            block: {
                moveEffect: 'none'
            }
        });
    

    Thanks,
    Nick


    aetherthemes

  •  2
    Matt Janes replied

    Thanks very much Nick, that worked a treat.

  •  5
    Nick replied

    That's great! Sorry for the late reply once again.

    Thanks,
    Nick


    aetherthemes