PageSourceSearch

https://www.roatan.cz/Content/Www/scripts/site.js

js roatan.cz collected 2026-10-06 04:15:26 UTC 795 bytes, 25 lines download raw bytes

1
2window.initContentMargin = function (padding, lastBoxSelector) {
3    var updateContentMargin = function (padding) {
4        padding = padding || 100;
5        var supplement = $(window).height();
6        var decrement = $('#header').height() + $('#submenu').height() + $('#footer').height();
7	
8	var $lastBox = $(lastBoxSelector || '.content.box:last-child');
9
10	// vertical centering
11	var topMargin = (supplement - decrement - $lastBox.outerHeight() ) / 2;
12	if(topMargin > 0)
13	    $lastBox.css('margin-top', topMargin );
14	else
15	    $lastBox.css('margin-top', '' );
16
17        $lastBox.css('margin-bottom', supplement - decrement - padding);
18    }
19
20    $(window).on('resize', function () {
21        updateContentMargin(padding);
22    });
23    updateContentMargin(padding);
24};
25

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.