PageSourceSearch

https://www.aislamiento.net/js/jquery.equalheights.js

js aislamiento.net collected 2026-09-30 08:30:51 UTC 1,165 bytes, 47 lines download raw bytes

1/*parsed HTML*/
2$(function(){
3	$(".maxheight").each(function(){
4		$(this).contents().wrapAll("<div class='box_inner'></div>");
5	})
6	$(".maxheight2").each(function(){
7		$(this).contents().wrapAll("<div class='box_inner'></div>");
8	})
9    $(".maxheight3").each(function(){
10		$(this).contents().wrapAll("<div class='box_inner'></div>");
11	})
12
13
14})
15/*add event*/
16$(window).bind("resize", height_handler).bind("load", height_handler)
17function height_handler(){
18	if($(window).width()>465){
19		$(".maxheight").equalHeights();
20	}else{
21		$(".maxheight").equalHeights();
22	}
23	if($(window).width()>740){
24		$(".maxheight2").equalHeights();
25	}else{
26		$(".maxheight2").equalHeights();
27	}
28    if($(window).width()>740){
29		$(".maxheight3").equalHeights();
30	}else{
31		$(".maxheight3").equalHeights();
32	}
33
34}
35/*glob function*/
36(function($){
37	$.fn.equalHeights=function(minHeight,maxHeight){
38		tallest=(minHeight)?minHeight:0;
39		this.each(function(){
40			if($(">.box_inner", this).outerHeight()>tallest){
41				tallest=$(">.box_inner", this).outerHeight()
42			}
43		});
44		if((maxHeight)&&tallest>maxHeight) tallest=maxHeight;
45		return this.each(function(){$(this).height(tallest)})
46	}
47})(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.