PageSourceSearch

https://numberjuantequila.com/wp-content/themes/enfold/config-temp…/icongrid/icongrid.js?ver=7.0.5

js numberjuantequila.com collected 2026-10-04 05:25:16 UTC 1,848 bytes, 72 lines download raw bytes

1(function($)
2{ 
3	"use strict";
4
5    $(window).on('load', function (e) {
6		$('.avia-icongrid-flipbox').avia_sc_icongrid();
7    });
8	
9	// -------------------------------------------------------------------------------------------
10	// Icongrid shortcode javascript
11	// -------------------------------------------------------------------------------------------
12	
13	$.fn.avia_sc_icongrid = function(options)
14	{
15		return this.each(function()
16		{
17			var container = $(this),
18                icongrid_id = '#' + $(this).attr('id'),
19                methods;
20
21            methods =
22			{
23				buildIconGrid: function () {
24
25                    this.setMinHeight($(icongrid_id + ' li article'));
26                    this.createFlipBackground($(icongrid_id + ' li'));
27
28
29				},
30
31				setMinHeight: function (els) {
32
33					if (els.length < 2) return;
34
35					var elsHeights = new Array();
36					els.css('min-height', '0').each(function (i) {
37						var current = $(this);
38						var currentHeight = current.outerHeight(true);
39						elsHeights.push(currentHeight);
40					});
41
42					var largest = Math.max.apply(null, elsHeights);
43					els.css('min-height', largest);
44
45
46				},
47
48				createFlipBackground: function(els) {
49
50				//	if ( ! container.hasClass('avia-icongrid-flipbox') ) return;
51
52					els.each(function(index,element){
53						var back = $(this).find('.avia-icongrid-content');
54						if (back.length > 0) {
55							if ( $(this).find('.avia-icongrid-flipback').length <= 0 ) {
56                                var flipback = back.clone().addClass('avia-icongrid-flipback').removeClass('avia-icongrid-content');
57                                back.after(flipback);
58							}
59						}
60					});
61
62				}
63			};
64            methods.buildIconGrid();
65            $(window).on( 'resize', function() {
66                methods.buildIconGrid();
67            });
68		});
69	}
70	
71	
72}(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.