Galleria slideshow slideshow?

Has anyone found an easy way to get an awesome gallery gallery for auto play?

I am really stuck with this.

Any help would be great!

thanks Paul

+2


a source to share


4 answers


$('#galleria').galleria({
    extend: function() {
        this.play(4000); // will advance every 4th second
    }
});

      



No longer works with the latest version. See below.

+1


a source


autoplay: true in options should do the trick.

autoplay

type: Boolean or Number
default: false

      

If true, this will start playing the slideshow at 3 second intervals (default). If you set this to any number, f.ex 4000, it will start playing at that interval (in milliseconds)



My problem is that after starting it, it doesn't stop when I click on the photo or thumb.

+4


a source


The latest version of galleria has a new way to implement this, and I don't believe it will auto scroll unless you force it with the setting now.

Also, the issue with autoload not stopping after clicking is now fixed in the latest version.

<script>
Galleria.loadTheme('../include/scripts/galleria/themes/classic/galleria.classic.min.js');
Galleria.run('#galleria', {
    transition: 'fade',
    imageCrop: true,
    autoplay: 2500 // will move forward every 7 seconds
});          
</script>       

      

+2


a source


According to the documentation below, by default you should get the behavior you are looking for. Try to set it explicitly.

pauseOnInteraction Type: Boolean default: true During playback, Galleria will pause playback if the user clicks on thumbnails or any other navigation links. If you don't want this behavior, set this parameter to false.

+1


a source







All Articles