PageSourceSearch

https://grodnoleshoz.by/media/js/lesgr/catalogimages.js?v=v6ab57e4d77662

js grodnoleshoz.by collected 2026-09-24 19:47:46 UTC 787 bytes, 31 lines download raw bytes

1$(window).load(function () {
2    var h_span = 0;
3    $('.catalog-item-image').each(function () {
4        var w = $(this).width();
5        var img = $(this).children('img');
6        $(this).height(w);
7        var w_i = img.width();
8        var h_i = img.height();
9        if ((w_i / h_i) > 1)
10        {
11            /* горизонтальное фото */
12            img.width(w);
13            var h2 = img.height();
14            var top = (w - h2) / 2;
15            img.css('top',top+'px');
16        }
17        else
18        {
19            /* вертикальное */
20            img.height(w);
21            var w2 = img.width();
22            var left = (w - w2) / 2;
23            img.css('left',left+'px');
24        }
25        img.fadeTo(100,1);
26
27
28    })
29
30
31})

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.