Файл: templates/backend/default/assets/plugins/jquery-superbox/js/superbox.min.js
Строк: 34
<?php
!function(e){e.fn.SuperBox=function(){var t=e('<div class="superbox-show"></div>'),l=e('<img src="" class="superbox-current-img">'),n=e('<div class="superbox-close"></div>');return t.append(l).append(n),this.each(function(){e(".superbox-list").click(function(){var n=e(this).find(".superbox-img"),i=n.data("img");l.attr("src",i),0==e(".superbox-current-img").css("opacity")&&e(".superbox-current-img").animate({opacity:1}),e(this).next().hasClass("superbox-show")?t.toggle():t.insertAfter(this).css("display","block"),e("html, body").animate({scrollTop:t.position().top-n.width()},"medium")}),e(".superbox").on("click",".superbox-close",function(){e(".superbox-current-img").animate({opacity:0},200,function(){e(".superbox-show").slideUp()})})})}}(jQuery);
?>