JD Isaacks
JD Isaacks

Reputation: 57974

jQuery Galleria plug-in: Make auto-play?

I am using this jQuery plugin

It is very nice, but I can't seem to figure out how to get it to auto-play. (automatically transition to the next image at an interval)

Has anyone else gotten this to do that?

Upvotes: 0

Views: 3180

Answers (3)

Rodesco
Rodesco

Reputation: 1

Actually the new version of galleria has an option for autoplay. looks like this: (where .test is the name of the div layer containing your images)

<script>
    // Load theme
    Galleria.loadTheme('../src/themes/classic/galleria.classic.js');

    $('.test').galleria({
      autoplay: 1000
    });
</script>

Upvotes: 0

David Hellsing
David Hellsing

Reputation: 108500

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

Upvotes: 3

Jeff
Jeff

Reputation: 21892

In my experience, it doesn't have that option. You'd have to hack it to add that.

You might want to consider using another slider plugin: Easy Slider, Galleriffic, Pikachoose

Upvotes: -1

Related Questions