PageSourceSearch

https://parisandco.fr/wp-content/plugins/estato/bt_parallax.js?ver=6.8.10

js parisandco.fr collected 2026-10-04 13:27:09 UTC 1,407 bytes, 55 lines download raw bytes

1(function( $ ) {
2	$( document ).ready(function() {
3
4		if ( $( '.btParallax' ).length > 0 ) {
5					
6			window.bt_raf_lock = false;
7
8			$( window ).on( 'mousewheel', function( e ) {
9
10			});
11				
12			$( window ).on( 'scroll', function() {
13				if ( ! window.bt_raf_lock ) {
14					window.bt_raf_lock = true;
15					bt_requestAnimFrame( bt_raf_loop );
16				}
17			});
18		
19			window.bt_requestAnimFrame = function() {
20				return (
21					window.requestAnimationFrame       ||
22					window.webkitRequestAnimationFrame ||
23					window.mozRequestAnimationFrame    ||
24					window.oRequestAnimationFrame      ||
25					window.msRequestAnimationFrame     ||
26					function( callback ) {
27						window.setTimeout( callback, 1000 / 60 );
28					}
29				);
30			}();
31			
32			bt_raf_loop = function() {
33
34				$( '.btParallax' ).each(function() {
35					var bounds = this.getBoundingClientRect();
36					if ( bounds.top < window.innerHeight && bounds.bottom > 0 ) {
37						var speed = $( this ).data( 'parallax' ) + 0.0001;
38						var offset = 0;
39						if( window.innerWidth > 1024 ) offset= parseFloat( $( this ).data( 'parallax-offset' ) );
40						var ypos = ( bounds.top ) * speed;
41						$( this ).css( 'background-position', '50% ' + ( ypos + offset ) + 'px' );
42					}
43					
44				});
45				
46				window.bt_raf_lock = false;
47
48			}
49			
50			bt_requestAnimFrame( bt_raf_loop );	
51			
52		}
53	});
54	
55})( 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.