PageSourceSearch

https://yogaunderthepalms.com/wp/wp-content/themes/sensible-wp/js/parallax.js?ver=6.9.9

js yogaunderthepalms.com collected 2026-10-06 08:58:53 UTC 1,390 bytes, 54 lines download raw bytes

1// stupid dumb thing. 
2/*
3jQuery( function( $ ){
4	
5$(document).ready(function(){
6	// Cache the Window object
7	$window = $(window);
8                
9   $('section[data-type="background"]').each(function(){
10     var $bgobj = $(this); // assigning the object
11                    
12      $(window).scroll(function() {
13                    
14		// Scroll the background at var speed
15		// the yPos is a negative value because we're scrolling it UP!								
16		var yPos = -($window.scrollTop() / $bgobj.data('speed')); 
17		
18		// Put together our final background position
19		var coords = '50% '+ yPos + 'px';
20
21		// Move the background
22		$bgobj.css({ backgroundPosition: coords }); 
23		
24	}); // window scroll Ends
25
26 });	
27 
28   $('header[data-type="background"]').each(function(){
29     var $bgobj = $(this); // assigning the object
30                    
31      $(window).scroll(function() {
32                    
33		// Scroll the background at var speed
34		// the yPos is a negative value because we're scrolling it UP!								
35		var yPos = -($window.scrollTop() / $bgobj.data('speed')); 
36		
37		// Put together our final background position
38		var coords = '50% '+ yPos + 'px';
39
40		// Move the background
41		$bgobj.css({ backgroundPosition: coords }); 
42		
43	}); // window scroll Ends
44
45 });
46
47}); 
48});
49/* 
50 * Create HTML5 elements for IE's sake
51
52document.createElement("article");
53document.createElement("section");
54 */

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.