HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wpprm/wp-content/themes/ronneby/assets/js/jquery.panr.min.js
!function(f,e,n,t){var a="panr",o={sensitivity:30,scale:!0,scaleOnHover:!1,scaleTo:1.1,scaleDuration:.25,panY:!0,panX:!0,panDuration:1.25,resetPanOnMouseLeave:!1,onEnter:function(){},onLeave:function(){}};function i(e,n){this.element=e,this.settings=f.extend({},o,n),this._defaults=o,this._name=a,this.init()}i.prototype={init:function(){var n,t,a,o,i,s,r=this.settings,c=f(this.element),e=c.width(),l=(c.height(),c.width()-r.sensitivity),u=(e-l)/l;(r.scale||!r.scaleOnHover&&r.scale)&&TweenMax.set(c,{scale:r.scaleTo}),"string"===jQuery.type(r.moveTarget)&&(r.moveTarget=f(this.element).parent(r.moveTarget)),r.moveTarget||(r.moveTarget=f(this.element)),r.moveTarget.on("mousemove",function(e){n=e.pageX-c.offset().left,t=e.pageY-c.offset().top,r.panX&&(o={x:-u*n}),r.panY&&(i={y:-u*t}),a=f.extend({},o,i),TweenMax.to(c,r.panDuration,a)}),r.moveTarget.on("mouseenter",function(e){r.scaleOnHover&&TweenMax.to(c,r.scaleDuration,{scale:r.scaleTo}),r.onEnter(c)}),r.scale&&(r.scaleOnHover||r.scale)?r.resetPanOnMouseLeave&&(s={x:0,y:0}):s={scale:1,x:0,y:0},r.moveTarget.on("mouseleave",function(e){TweenMax.to(c,r.scaleDuration,s),r.onLeave(c)})}},f.fn[a]=function(e){return this.each(function(){f.data(this,"plugin_"+a)||f.data(this,"plugin_"+a,new i(this,e))})}}(jQuery,window,document),function(n){var e=function(){n(".project.panr, .dfd-gallery-single-item.panr, .dfd-single-image-module.panr, .dfd-info-banner.panr, .dfd-woo-single-category.panr").each(function(){var e=n(this);n("img",e).panr({moveTarget:e,sensitivity:18,scale:!1,scaleOnHover:!0,scaleTo:1.08,scaleDuration:.2,panDuration:3,resetPanOnMouseLeave:!1})})};n(window).load(function(){e(),n(".dfd-blog, .dfd-portfolio, .dfd-gallery").observeDOM(function(){e()})})}(jQuery);