PageSourceSearch

http://janschoenmakers.de/wp-content/themes/dt-armada/js/js-equal-height.js

js janschoenmakers.de collected 2026-10-08 20:02:18 UTC 760 bytes, 28 lines download raw bytes

1function js_equal_height() {
2    var highest_element = 0;
3   
4    // Lösche die Höhe
5    jQuery('.teaser-container-content').each(function() {
6		jQuery(this).removeAttr('style');
7    });
8  
9    // Prüfe, welches Element am höchsten ist
10    jQuery('.teaser-container-content').each(function() {
11      if (jQuery(this).height() > highest_element) {
12        highest_element = jQuery(this).height();
13      }
14    });
15  
16    // Weise diese Höhe allen Elementen zu.
17    jQuery('.teaser-container-content').each(function() {
18		jQuery(this).height(highest_element);
19    });
20  };
21  
22  window.onload = js_equal_height;
23  
24  var resizeTimer;
25  jQuery(window).resize(function() {
26    clearTimeout(resizeTimer);
27    resizeTimer = setTimeout(js_equal_height, 100);
28  });

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.