PageSourceSearch

https://www.parc-naturel-chevreuse.fr/themes/custom/chevreuse/js/jquery.same_height.js?tm7vqo

js parc-naturel-chevreuse.fr collected 2026-10-01 11:36:24 UTC 727 bytes, 29 lines download raw bytes

1jQuery.fn.same_height = function (e) {
2  var maxHeight = -1;
3  var currentOffsetTop = -1;
4  var currentBuffer = [];
5  this.each(function () {
6    var $elem = $(this);
7    if (currentOffsetTop != $elem.offset().top) {
8      for (var i = 0; i < currentBuffer.length; i++) {
9        currentBuffer[i].css({
10          'height': maxHeight,
11        })
12      }
13      maxHeight = $elem.height();
14      currentBuffer = [$elem];
15      currentOffsetTop = $elem.offset().top;
16    }
17    else {
18      currentBuffer.push($elem);
19      if (maxHeight < $elem.height()) {
20        maxHeight = $elem.height();
21      }
22    }
23  })
24  for (var i = 0; i < currentBuffer.length; i++) {
25    currentBuffer[i].css({
26      'height': maxHeight,
27    })
28  }
29};

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.