PageSourceSearch

https://metallobaza33.ru/sites/all/modules/equalheights/jquery.equalheights.js?v=1.0

js metallobaza33.ru collected 2026-09-28 23:15:42 UTC 1,017 bytes, 33 lines download raw bytes

1/**
2 * Equal Heights Plugin
3 * Equalize the heights of elements. Great for columns or any elements
4 * that need to be the same size (floats, etc).
5 *
6 * Version 1.0
7 * Updated 12/10/2008
8 *
9 * Copyright (c) 2008 Rob Glazebrook (cssnewbie.com)
10 *
11 * Usage: $(object).equalHeights([minHeight], [maxHeight]);
12 *
13 * Example 1: $(".cols").equalHeights(); Sets all columns to the same height.
14 * Example 2: $(".cols").equalHeights(400); Sets all cols to at least 400px tall.
15 * Example 3: $(".cols").equalHeights(100,300); Cols are at least 100 but no more
16 * than 300 pixels tall. Elements with too much content will gain a scrollbar.
17 *
18 */
19
20(function($) {
21	$.fn.equalHeights = function(minHeight, maxHeight) {
22		tallest = (minHeight) ? minHeight : 0;
23		this.each(function() {
24			if($(this).height() > tallest) {
25				tallest = $(this).height();
26			}
27		});
28		if((maxHeight) && tallest > maxHeight) tallest = maxHeight;
29		return this.each(function() {
30			$(this).height(tallest).css("overflow","auto");
31		});
32	}
33})(jQuery);

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.