PageSourceSearch

https://segantiniearco.it/wp-content/themes/dropout/javascript/siteorigin-panels-styling.js?x94500

js segantiniearco.it collected 2026-10-08 10:44:12 UTC 1,972 bytes, 67 lines download raw bytes

1
2/* global jQuery */
3
4jQuery(function($){
5
6    var fullContainer = $('body');
7    if( fullContainer.length === 0 ) {
8        fullContainer = $('body');
9    }
10
11    var sideNav = $('.nav-side .site-header');
12
13    // Stretch all the full width rows
14    var stretchFullWidthRows = function(){
15
16        $('.siteorigin-panels-stretch.panel-row-style').each(function(){
17            var $$ = $(this);
18            $$.css({
19                'margin-left' : 0,
20                'margin-right' : 0,
21                'padding-left' : 0,
22                'padding-right' : 0
23            });
24
25            var leftSpace = $$.offset().left - fullContainer.offset().left;
26            var rightSpace = fullContainer.outerWidth() - leftSpace - $$.parent().outerWidth();
27
28            if( sideNav.length && window.innerWidth > 992 ) {
29                leftSpace -= sideNav.innerWidth() + 1;
30            }
31
32            $$.css({
33                'margin-left' : -leftSpace,
34                'margin-right' : -rightSpace,
35                'padding-left' : $$.data('stretch-type') === 'full' ? leftSpace : 0,
36                'padding-right' : $$.data('stretch-type') === 'full' ? rightSpace : 0
37            });
38
39            var cells = $$.find('> .panel-grid-cell');
40
41            if( $$.data('stretch-type') === 'full-stretched' && cells.length === 1 ) {
42                cells.css({
43                    'padding-left' : 0,
44                    'padding-right' : 0
45                });
46            }
47
48            $$.css({
49                'border-left' : 0,
50                'border-right' : 0
51            });
52        });
53    }
54    $(window).resize( stretchFullWidthRows );
55    stretchFullWidthRows();
56
57    if(  typeof $.stellar !== 'undefined' ) {
58        // Setup parallax after a small timeout to allow full width to take effect
59        setTimeout( function(){
60            $.stellar( {
61                horizontalScrolling: false,
62                responsive: true
63            } );
64        }, 100 );
65    }
66
67});

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.