PageSourceSearch

https://www.norman-wiehe.de/wp-content/plugins/we-elementor-parallax/assets/js/elementor-parallax.js?ver=1.0.0

js norman-wiehe.de collected 2026-10-07 00:15:17 UTC 1,461 bytes, 42 lines download raw bytes

1/*
2*	Elementor Parallax Addon main script
3*	Based on enllax jQuery plugin https://github.com/mmkjony/enllax.js
4*/
5
6jQuery(document).ready(function($) {
7	var winHeight = $(window).height();
8	$(window).on('scroll', function(){
9		$('.elementor-parallax .layer').each(function(e, layer) {
10			var ratio = $(layer).attr('data-enllax-ratio');
11			var dir = $(layer).attr('data-enllax-direction');
12			if($(layer).attr('data-enllax-direction') === undefined) dir = 'vertical';
13
14			var height = $(layer).outerHeight();
15			var offset = $(layer).offset().top;
16			var scrolling = $(window).scrollTop();
17			bgY = Math.round((offset - scrolling) * ratio);
18			transform = Math.round(((offset - (winHeight / 2) + height) - scrolling) * ratio);
19
20			if(dir == 'vertical') {
21				$(layer).css({'background-position': 'center ' + -bgY + 'px'});
22			}
23			else if(dir == 'horizontal') {
24				$(layer).css({'background-position': -bgY + 'px' + ' center'});
25			}
26			else if(dir == 'diagonal-br') {
27				$(layer).css({'background-position': -bgY + 'px ' + -bgY + 'px'});
28			}
29			else if(dir == 'diagonal-bl') {
30				$(layer).css({'background-position': bgY + 'px ' + -bgY + 'px'});
31			}
32			else if(dir == 'diagonal-tr') {
33				$(layer).css({'background-position': -bgY + 'px ' + bgY + 'px'});
34			}
35			else if(dir == 'diagonal-tl') {
36				$(layer).css({'background-position': bgY + 'px ' + bgY + 'px'});
37			}
38		});
39	});
40	
41	$(window).trigger('scroll');
42});

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.