HEX
Server: Apache
System: Linux srv4.garantili.com.tr 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: yenicep (1023)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home2/yenicep/www/assets/library/parallax/jquery.parallax.min.js
/*
Plugin: jQuery Parallax
Version 1.1.3
Author: Ian Lunn
Twitter: @IanLunn
Author URL: http://www.ianlunn.co.uk/
Plugin URL: http://www.ianlunn.co.uk/plugins/jquery-parallax/

Dual licensed under the MIT and GPL licenses:
http://www.opensource.org/licenses/mit-license.php
http://www.gnu.org/licenses/gpl.html
*/

!function(a){"use strict";var b=a(window),c=b.height();b.resize(function(){c=b.height()}),a.fn.parallax=function(d,e,f){function k(){g.each(function(){i=g.offset().top}),h=f?function(a){return a.outerHeight(!0)}:function(a){return a.height()},(arguments.length<3||null===f)&&(f=!0),"undefined"==typeof d&&(d="50%"),"undefined"==typeof e&&(e=.5);var j=b.scrollTop();g.each(function(){var b=a(this),f=b.offset().top,k=h(b);j>f+k||f>j+c||g.css("backgroundPosition",d+" "+Math.round((i-j)*e)+"px")})}var h,i,g=a(this);b.bind("scroll",k).resize(k),k()}}(jQuery);