OXIESEC PANEL
- Current Dir:
/
/
home
/
cubot
/
docroot
/
assets
/
plugins
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/14/2022 11:10:46 AM
rwxr-xr-x
📄
animate.css
70.57 KB
08/14/2022 11:10:29 AM
rw-r--r--
📄
back-to-top.js
3.73 KB
08/14/2022 11:10:40 AM
rw-r--r--
📁
bootstrap
-
08/14/2022 11:10:39 AM
rwxr-xr-x
📁
fancybox
-
08/14/2022 11:10:28 AM
rwxr-xr-x
📁
font-awesome
-
08/14/2022 11:10:46 AM
rwxr-xr-x
📄
html5shiv.js
9.95 KB
08/14/2022 11:10:45 AM
rw-r--r--
📁
jquery
-
08/14/2022 11:10:30 AM
rwxr-xr-x
📁
jquery-steps
-
08/14/2022 11:10:29 AM
rwxr-xr-x
📄
jquery.mixitup.min.js
15.6 KB
08/14/2022 11:10:45 AM
rw-r--r--
📄
jquery.parallax.js
1.73 KB
08/14/2022 11:10:40 AM
rw-r--r--
📁
line-icons
-
08/14/2022 11:10:40 AM
rwxr-xr-x
📁
master-slider
-
08/14/2022 11:10:23 AM
rwxr-xr-x
📄
modernizr.custom.js
8.96 KB
08/14/2022 11:10:45 AM
rw-r--r--
📁
noUiSlider
-
08/14/2022 11:10:40 AM
rwxr-xr-x
📁
owl-carousel
-
08/14/2022 11:10:44 AM
rwxr-xr-x
📁
owl-carousel2
-
08/14/2022 11:10:39 AM
rwxr-xr-x
📄
respond.js
9.62 KB
08/14/2022 11:10:44 AM
rw-r--r--
📁
revolution-slider
-
08/14/2022 11:10:36 AM
rwxr-xr-x
📁
scrollbar
-
08/14/2022 11:10:40 AM
rwxr-xr-x
📁
sky-forms-pro
-
08/14/2022 11:10:44 AM
rwxr-xr-x
📄
smoothScroll.js
13.89 KB
08/14/2022 11:10:22 AM
rw-r--r--
Editing: jquery.parallax.js
Close
/* 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( $ ){ var $window = $(window); var windowHeight = $window.height(); $window.resize(function () { windowHeight = $window.height(); }); $.fn.parallax = function(xpos, speedFactor, outerHeight) { var $this = $(this); var getHeight; var firstTop; var paddingTop = 0; //get the starting position of each element to have parallax applied to it $this.each(function(){ firstTop = $this.offset().top; }); if (outerHeight) { getHeight = function(jqo) { return jqo.outerHeight(true); }; } else { getHeight = function(jqo) { return jqo.height(); }; } // setup defaults if arguments aren't specified if (arguments.length < 1 || xpos === null) xpos = "50%"; if (arguments.length < 2 || speedFactor === null) speedFactor = 0.1; if (arguments.length < 3 || outerHeight === null) outerHeight = true; // function to be called whenever the window is scrolled or resized function update(){ var pos = $window.scrollTop(); $this.each(function(){ var $element = $(this); var top = $element.offset().top; var height = getHeight($element); // Check if totally above or totally below viewport if (top + height < pos || top > pos + windowHeight) { return; } $this.css('backgroundPosition', xpos + " " + Math.round((firstTop - pos) * speedFactor) + "px"); }); } $window.bind('scroll', update).resize(update); update(); }; })(jQuery);