2010-06-07 21 views

Répondre

3

Vous pouvez utiliser la fonction extend pour le faire, comme ceci:

$('.images').galleria({ 
    autoplay: true, 
    extend: function() { 
     var gallery = this; 
     this.$('stage').hover(function() { 
      gallery.pause(); 
     }, function() { 
      gallery.play(); 
     }); 
    } 
});