PageSourceSearch

https://shop.hituzigumo.com/hpgen/HPB/theme/js/jquery.tile.js

js hituzigumo.com collected 2026-09-25 07:09:51 UTC 926 bytes, 31 lines download raw bytes

1/**
2 * Flatten height same as the highest element for each row.
3 *
4 * Copyright (c) 2011 Hayato Takenaka
5 * Dual licensed under the MIT and GPL licenses:
6 * http://www.opensource.org/licenses/mit-license.php
7 * http://www.gnu.org/licenses/gpl.html
8 * @author: Hayato Takenaka (http://urin.take-uma.net)
9 * @version: 0.0.2
10**/
11;(function($) {
12	$.fn.tile = function(columns) {
13		var tiles, max, c, h, last = this.length - 1, s;
14		if(!columns) columns = this.length;
15		this.each(function() {
16			s = this.style;
17			if(s.removeProperty) s.removeProperty("height");
18			if(s.removeAttribute) s.removeAttribute("height");
19		});
20		return this.each(function(i) {
21			c = i % columns;
22			if(c == 0) tiles = [];
23			tiles[c] = $(this);
24			h = tiles[c].height();
25			if(c == 0 || h > max) max = h;
26			if(i == last || c == columns - 1)
27				$.each(tiles, function() { this.height(max); });
28		});
29	};
30})(jQuery);
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.