2023-05-03 16:59:28 -04:00
|
|
|
$(document).ready(function() {
|
|
|
|
$.fancybox.defaults.loop = "true";
|
2023-10-08 10:29:09 -04:00
|
|
|
$.fancybox.defaults.afterLoad = function(instance, current) {
|
|
|
|
current.$image.attr('alt', current.opts.$orig.find('img').attr('alt') );
|
|
|
|
current.$image.attr('title', current.opts.$orig.find('img').attr('title') );
|
|
|
|
};
|
|
|
|
$.fancybox.defaults.caption = function (instance, slide, caption) {
|
|
|
|
return slide.$thumb.attr('alt');
|
|
|
|
};
|
|
|
|
});
|