HEX
Server: Apache
System: Linux vps.rockyroadprinting.net 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: rockyroadprintin (1011)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/rockyroadprintin/www/wp-content/themes/woodmart/js/libs/parallax.min.js
!function(u){var h=u(window),s=h.height();h.on("resize",function(){s=h.height()}),u.fn.parallax=function(a,r,n){var i,l,e=u(this);function t(){var o=h.scrollTop();e.hasClass("wd-parallax")&&e.each(function(){var n=u(this),t=n.offset().top;t+i(n)<o||o+s<t||e.attr("style","background-position: var(--wd-parallax-pos,"+a+" "+Math.round((l-o)*r)+"px) !important")})}e.each(function(){l=e.offset().top}),i=n?function(n){return n.outerHeight(!0)}:function(n){return n.height()},(arguments.length<1||null===a)&&(a="50%"),(arguments.length<2||null===r)&&(r=.1),(arguments.length<3||null===n)&&(n=!0),h.bind("scroll",t).on("resize",t),t()}}(jQuery);