2023-05-03 20:59:28 +00:00
|
|
|
$(document).ready(function() {
|
|
|
|
$.fancybox.defaults.loop = "true";
|
2023-10-08 14:29:09 +00: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');
|
|
|
|
};
|
|
|
|
});
|