PageSourceSearch

https://portal.vfp.de/view/core/script/SewobeBoxlist.js?v=ec97d0a398c47638d0b9dc50bb43d0fd

js vfp.de collected 2026-10-02 10:00:09 UTC 1,405 bytes, 64 lines download raw bytes

1var SewobeBoxlist = function (el) {
2	this.initialize(el);
3}
4
5SewobeBoxlist.prototype = {
6
7	el: null,
8
9	initialize: function(el) {
10
11		this.el = el;
12
13		var _this = this;
14		var $el = $(this.el);
15		var $this = $(this);
16
17		this.updateLayout();
18		$(window).on('resize', this.onWindowResize.bind(this));
19	},
20
21	updateLayout: function() {
22		this.updateFooterHeight();
23	},
24
25	getMaxFooterHeight: function() {
26		var maxFooterH = 0;
27		var _this = this;
28		var $boxFooterEls = $(this.el).find('.box-footer');
29		// reset heights
30		$boxFooterEls.each(function() {
31			$(this).css({ height: '' });
32		});
33		$boxFooterEls.each(function() {
34			var h = $(this).height();
35			if (h > maxFooterH) {
36				maxFooterH = h;
37			}
38		});
39		return maxFooterH;
40	},
41
42	updateFooterHeight: function() {
43		var $boxFooterEls = $(this.el).find('.box-footer');
44		var maxFooterH = this.getMaxFooterHeight();
45		$boxFooterEls.each(function() {
46			var $this = $(this);
47			$this.height(maxFooterH);
48			$this.parent('a').children('.box-main').css({ paddingBottom: maxFooterH + 16});
49
50			if ($this.children('.document-meta').length) {
51				var $meta = $this.children('.document-meta');
52				if ($meta.outerHeight(true) > $this.height() - $this.children('.document-title').outerHeight(true)) {
53					$meta.addClass('fade-bottom');
54				}
55				$this.closest('li').addClass('has-meta');
56			}
57		});
58	},
59
60	onWindowResize: function(e) {
61		this.updateLayout();
62	}
63}
64

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.