PageSourceSearch

https://www.saintpierredecormeilles.fr/wp-content/plugins/Krea3Act…/js/krea3-actualites-public.js?ver=0.1.0

js saintpierredecormeilles.fr collected 2026-10-03 23:03:50 UTC 1,737 bytes, 58 lines download raw bytes

1(function( $ ) {
2	'use strict';
3
4	$.fn.equalize = function(options) {
5    var $containers = this, // this is the jQuery object
6        children    = false,
7        reset       = false,
8        equalize,
9        type;
10
11    // when options are an object
12    if ($.isPlainObject(options)) {
13      equalize = options.equalize || 'height';
14      children = options.children || false;
15      reset    = options.reset || false;
16    } else { // otherwise, a string was passed in or default to height
17      equalize = options || 'height';
18    }
19
20    if (!$.isFunction($.fn[equalize])) { return false; }
21
22    // determine if the height or width is being equalized
23    type = (equalize.indexOf('eight') > 0) ? 'height' : 'width';
24
25    return $containers.each(function() {
26          // when children exist, equalize the passed in child elements, otherwise equalize the children
27      var $children = (children) ? $(this).find(children) : $(this).children(),
28          max = 0; // reset for each container
29
30      $children.each(function() {
31        var $element = $(this),
32            value;
33        if (reset) { $element.css(type, ''); } // remove existing height/width dimension
34        value = $element[equalize]();          // call height(), outerHeight(), etc.
35        if (value > max) { max = value; }      // update max
36      });
37
38      $children.css(type, max +'px'); // add CSS to children
39    });
40  };
41  
42  $(function(){
43  	
44		function egaliser_blocs_articles(){
45			$(bloc_actualite.classe).equalize({
46				reset: true,
47				children:'.type-post'
48			});
49			$(bloc_actualite.classe + ".post").css("min-height",$(".type-post").height());
50		}
51		
52		$(window).resize(function(){
53			egaliser_blocs_articles();
54		}).resize();
55		
56	});
57	
58})( 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.