PageSourceSearch

https://ciglsteinfort.lu/wp-content/themes/rttheme16/js/jquery.fullbg.min.js?ver=7.1.3

js ciglsteinfort.lu collected 2026-10-08 03:18:01 UTC 1,037 bytes, 59 lines download raw bytes

1/**
2 * jQuery.fullBg
3 * Version 1.0
4 * Copyright (c) 2010 c.bavota - http://bavotasan.com
5 * Dual licensed under MIT and GPL.
6 * Date: 02/23/2010
7**/
8(function($) {
9	$.fn.fullBg = function(){
10		var bgImg = $(this);
11		
12		bgImg.addClass('fullBg');
13		
14
15	function resizeImg() {
16				var imgwidth = bgImg.width();
17				var imgheight = bgImg.height();
18				
19				var winwidth = $(window).width();
20				var winheight = $(window).height();
21					
22				var widthratio = winwidth/imgwidth;
23				var heightratio = winheight/imgheight;
24				
25				var widthdiff = heightratio*imgwidth;
26				var heightdiff = widthratio*imgheight;
27				
28				if(heightdiff>winheight) {
29					bgImg.css({
30						width: winwidth+'px',
31						height: heightdiff+'px'
32					});
33				} else {
34					bgImg.css({
35						width: widthdiff+'px',
36						height: winheight+'px'
37					});		
38				}
39			}
40			
41					
42		
43		$(bgImg).imgpreload(function() {//image load
44		
45			bgImg.css('display','block');
46
47			resizeImg();
48		});
49		
50		
51		$(window).resize(function() {
52			resizeImg();
53		});
54
55
56		
57		
58	};
59})(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.