PageSourceSearch

https://www.antequera.es/export/system/modules/com.saga.sagasuite.…/resources/sagasuite/equal-height-boxes.js

js antequera.es collected 2026-10-02 11:11:07 UTC 824 bytes, 24 lines download raw bytes

1// funcion para igualar el alto de cajas con la misma clase, igualando al alto mayor
2(function(){
3jQuery.fn.equalHeights = function() {
4    var maxHeight = 0;
5    // get the maximum height
6    this.each(function(){
7        var $this = jQuery(this);
8        if ($this.height() > maxHeight) { maxHeight = $this.height(); }
9    });
10    // set the elements height
11    this.each(function(){
12        var $this = jQuery(this);
13        $this.height(maxHeight);
14    });
15};
16
17jQuery(window).load(function() {
18    var classes = ["equalheight","equalheight-two","equalheight-three","equalheight-four","equalheight-five","equalheight-six","equalheight-seven","equalheight-eight","equalheight-nine","equalheight-ten"];
19    for (var i = 0, j = classes.length; i < j; i++) {
20        jQuery('.' + classes[i]).equalHeights();
21    }
22});
23})();
24

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.