PageSourceSearch

https://paularizzo.com/wp-content/themes/enfold/config-templatebui…/slideshow_layerslider.js?ver=8.1

js paularizzo.com collected 2026-09-24 11:17:58 UTC 896 bytes, 40 lines download raw bytes

1(function($)
2{
3	"use strict";
4
5	// -------------------------------------------------------------------------------------------
6	// makes sure that the fixed container height is removed once the layerslider is loaded, so it adapts to the screen resolution
7	// -------------------------------------------------------------------------------------------
8
9	$.fn.layer_slider_height_helper = function(options)
10	{
11		return this.each(function()
12		{
13			var container 	= $(this),
14				first_div 	= container.find('>div').first(),
15				timeout 	= false,
16				counter 	= 0,
17				reset_size 	= function()
18				{
19					if(first_div.height() > 0 || counter > 5)
20					{
21						container.height('auto');
22					}
23					else
24					{
25						timeout = setTimeout(reset_size, 500);
26						counter++;
27					}
28				};
29
30			if( ! first_div.length )
31			{
32				return;
33			}
34
35			timeout = setTimeout(reset_size, 0);
36		});
37	};
38
39
40}(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.