BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
www
/
CTR
/
wp-content
/
plugins
/
porto-functionality
/
shortcodes
/
assets
/
js
📤 Upload
📝 New File
📁 New Folder
Close
Editing: mouse-parallax.min.js
(function(t,a){"use strict";t=t||{};var e="__parallax",n=function(t,a){return this.initialize(t,a)};n.prototype={initialize:function(t,a){return this.$el=t,this.setData().setOptions(a).build(),this},setData:function(){return this.$el.data(e,this),this},setOptions:function(t){return this.options=a.extend(!0,{},{wrapper:this.$el,opts:t}),this},build:function(){if(!a.fn.parallax)return this;var t=this.options.wrapper,e=this.options.opts;t.parallax(e)}},a.extend(t,{Mouseparallax:n}),a.fn.themeMouseparallax=function(n){return this.map((function(){var r=a(this);return r.data(e)?r.data(e):new t.Mouseparallax(r,n)}))}}).apply(this,[window.theme,jQuery]),jQuery(document).ready((function(t){t.fn.themeMouseparallax&&t((function(){t('[data-plugin="mouse-parallax"]').each((function(){var a,e=t(this);e.data("parallax")&&(e.parallax("disable"),e.removeData("parallax"),e.removeData("options")),e.hasClass("elementor-element")?e.attr("data-widget_type")&&0==e.children(".elementor-widget-container").length?(e.wrapInner('<div class="layer"></div>'),e.children(".layer").attr("data-depth",e.attr("data-floating-depth"))):e.children(".elementor-widget-container, .elementor-container, .elementor-widget-wrap, .elementor-column-wrap").addClass("layer").attr("data-depth",e.attr("data-floating-depth")):e.children(".layer").attr("data-depth",e.attr("data-floating-depth"));var n=e.data("options");n&&(a=n),e.themeMouseparallax(a)}))}))}));
Save
Cancel