0,0 → 1,39 |
$(document).ready(function(){ |
var galleries = $('.ae-gallery').aeGallery({ |
loader_image: 'modules/Gallery/templates/ae-gallery/loader.gif', |
slideshow: { |
autostart: false, |
speed: 5000, |
start_label: 'Start', |
stop_label: 'Stop', |
stop_on_scroll: false, |
}, |
callbacks: { |
init: function() { |
this.preloadImage(0); |
}, |
afterImageVisible: function() { |
$('.ae-image > img').click(function(){ |
$.fancybox( |
{ |
'speedIn': 300, |
'speedOut': 300, |
'overlayColor': '#000', |
'overlayOpacity': 0.7, |
'centerOnScroll': true, |
'titlePosition': 'over', |
'transitionIn': 'elastic', |
'transitionOut': 'elastic', |
'showNavArrows': false, |
'showCloseButton': true, |
'href': $(this).attr('src'), |
'title': $(this).parent().find('p').html() |
} |
); |
}); |
var context = this; |
this.preloadImage(this.current_index + 1); |
} |
} |
}); |
}); |
Property changes: |
Added: svn:mime-type |
## -0,0 +1 ## |
+text/plain |
\ No newline at end of property |