PageSourceSearch

https://trtfn.com/wp-content/themes/scalia/js/fancyBox/jquery.fancybox-init.js?ver=6.0.16

js trtfn.com collected 2026-10-03 21:37:41 UTC 1,199 bytes, 45 lines download raw bytes

1(function($) {
2	$('a.fancy').fancybox();
3    $('a.fancy-gallery').fancybox({
4        helpers : {
5            title: {
6                type: 'over'
7            }
8        },
9        wrapCSS: 'slideinfo',
10        beforeLoad: function() {
11            var clone = $(this.element).children('.slide-info').clone();
12
13            if (clone.length) {
14                this.title = clone.html();
15            }
16        }
17    });
18
19	$('.portfolio-item a.vimeo, .portfolio-item a.youtube, .blog article a.youtube, .blog article a.vimeo').fancybox({
20		type: 'iframe'
21	});
22	$('.portfolio-item a.self_video').fancybox({
23		width: '80%',
24		height: '80%',
25		autoSize: false,
26		content: '<div id="fancybox-video"></div>',
27		afterShow: function() {
28			if(this.element.closest('.portfolio-item').find('.videoblock').html() != '') {
29				this.inner.html(this.element.closest('.portfolio-item').find('.videoblock').html());
30			} else {
31				jwplayer('fancybox-video').setup({
32					file: this.href,
33					width: '100%',
34					height: '100%',
35					autostart: true
36				});
37			}
38		},
39		beforeClose: function() {
40			if(this.element.next('.videoblock').html() == '') {
41				jwplayer('fancybox-video').remove();
42			}
43		}
44	});
45})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.