DIPREGEP N°6235
$(document).ready(function() {
$('.fancybox').fancybox();
$('.fancybox-buttons').fancybox({
openEffect : 'elastic',
closeEffect : 'click',
prevEffect : 'none',
nextEffect : 'none',
closeEffect : 'elastic',
closeSpeed : 150,
closeBtn : true,
helpers : {
title : {
type : 'inside'
},
buttons : {}
},
afterLoad : function() {
this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
}
});
});