PageSourceSearch

https://www.kingphilip.org/wp-content/plugins/ed-school-plugin/includes/elementor/assets/js/jquery-parallax.js

js kingphilip.org collected 2026-10-02 06:40:39 UTC 1,873 bytes, 43 lines download raw bytes

1;(function($) {
2   'use strict'
3    var testMobile;
4    var isMobile = {
5        Android: function() {
6            return navigator.userAgent.match(/Android/i);
7        },
8        BlackBerry: function() {
9            return navigator.userAgent.match(/BlackBerry/i);
10        },
11        iOS: function() {
12            return navigator.userAgent.match(/iPhone|iPad|iPod/i);
13        },
14        Opera: function() {
15            return navigator.userAgent.match(/Opera Mini/i);
16        },
17        Windows: function() {
18            return navigator.userAgent.match(/IEMobile/i);
19        },
20        any: function() {
21            return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows());
22        }
23    };
24  var parallax = function() {
25    testMobile = isMobile.any();
26    if (testMobile == null) {
27      $(".parallax, .column-parallax .elementor-column-wrap").parallax("50%", 0.3);
28    }
29  };
30  // Dom Ready
31  $(function() {
32    parallax();
33     });
34})(jQuery);
35/*
36jQuery Parallax 1.1.3
37Author: Ian Lunn
38Plugin URL: http://www.ianlunn.co.uk/plugins/jquery-parallax/
39Dual licensed under the MIT and GPL licenses:
40http://www.opensource.org/licenses/mit-license.php
41http://www.gnu.org/licenses/gpl.html
42*/
43!function(n){var t=n(window),e=t.height();t.resize(function(){e=t.height()}),n.fn.parallax=function(o,r,i){function u(){var i=t.scrollTop();l.each(function(t,u){var l=n(u),f=l.offset().top,s=a(l);i>f+s||f>i+e||l.css("backgroundPosition",o+" "+Math.round((l.data("firstTop")-i)*r)+"px")})}var a,l=n(this);l.each(function(t,e){$element=n(e),$element.data("firstTop",$element.offset().top)}),a=i?function(n){return n.outerHeight(!0)}:function(n){return n.height()},(arguments.length<1||null===o)&&(o="50%"),(arguments.length<2||null===r)&&(r=.1),(arguments.length<3||null===i)&&(i=!0),t.bind("scroll",u).resize(u),u()}}(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.