Closed ispraydesigns closed 13 years ago
Hey mate, for auto play and fade, find and add these lines to your html:
$('#galleria').galleria({
data_source: data, // add the flickr data
show_imagenav: false, // remove the prev/next arrows
transition: 'fade', //ADD THIS LINE HERE FOR FADING
extend: function() { // ADD THIS AND FOLLOWING LINE FOR AUTOPLAY
this.play(4000); // will advance every 4th second
var gallery = this; // save the scope
// And in the galleria.classic.css (or whichever theme you're using), use
transition: 'fade',
instead of transition: 'slide',
This worked for me.
My entire galleria code in the html looks like this, so you have all parenthesis etc. correct too (hope it doesn't get cut)
Githubissues.
$('#gallery_demo2').galleria({ transition: 'fade', autoplay:true });