PageSourceSearch

https://ffc-frankfurt.de/fileadmin/javascript/fancybox.js

js ffc-frankfurt.de collected 2026-10-02 13:48:14 UTC 1,347 bytes, 54 lines download raw bytes

1jQuery.noConflict(); 
2
3
4jQuery(document).ready(function(){
5	
6	
7	jQuery("#content_leftmiddle a[rel]").each(function(i){
8		var rel = jQuery(this).attr("rel");
9		jQuery(this).attr('data-fancybox-group','gallery');
10	});
11	
12	
13	jQuery(".news-single-item .news-content img").each(function(i){
14		var scr = jQuery(this).attr('src');
15		jQuery(this).wrap("<a href=\"" + scr + "\" class=\"lightbox\" rel=\"gallery\" data-fancybox-group=\"gallery\"  ></a>");
16	});
17	
18	
19	jQuery("a.lightbox-video").click(function() {
20		jQuery.fancybox({  
21			'padding'    : 0,
22			'autoScale'  : true,
23			'transitionIn'  : 'none',
24			'transitionOut'  : 'none',      
25			'title'    : this.title,
26			'href'    : this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
27							 'type'    : 'swf',
28						'swf'    : {
29							'wmode'    : 'transparent',
30						'allowfullscreen': 'true'
31						}
32		});
33		return false;
34	});
35	
36	jQuery("a.lightbox , a.fancybox").fancybox({		
37		'padding':'0',
38		'overlayColor' : '#ffffff', 
39		'overlayOpacity' : '1.0',
40		'transitionIn': 'fade',
41		'transitionOut': 'fade',
42		'cyclic': 'true',
43		'titleShow':	'true',
44		'titlePosition':	'outside',
45		onComplete  :   function() {
46			if (jQuery("#content_leftmiddle .lightbox, #content_leftmiddle .fancybox").length >1) {
47			jQuery("#fancybox-left, #fancybox-right").css("display","block");
48		}
49    }
50	});
51	
52	
53});
54

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.