Software: LiteSpeed. PHP/7.4.33 uname -a: Linux server704.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 uid=1309(necipbey) gid=1314(necipbey) groups=1314(necipbey) Safe-mode: OFF (not secure) /home/necipbey/public_html/assets/default/assets/js/ drwxr-xr-x |
Viewing file: Select action/file-type: (function ($) { "use strict"; // Page loading animation $(window).on('load', function() { $('#js-preloader').addClass('loaded'); }); $(window).scroll(function() { var scroll = $(window).scrollTop(); var box = $('.header-text').height(); var header = $('header').height(); if (scroll >= box - header) { $("header").addClass("background-header"); } else { $("header").removeClass("background-header"); } }) var width = $(window).width(); $(window).resize(function() { if (width > 767 && $(window).width() < 767) { location.reload(); } else if (width < 767 && $(window).width() > 767) { location.reload(); } }) const elem = document.querySelector('.trending-box'); const filtersElem = document.querySelector('.trending-filter'); if (elem) { const rdn_events_list = new Isotope(elem, { itemSelector: '.trending-items', layoutMode: 'masonry' }); if (filtersElem) { filtersElem.addEventListener('click', function(event) { if (!matchesSelector(event.target, 'a')) { return; } const filterValue = event.target.getAttribute('data-filter'); rdn_events_list.arrange({ filter: filterValue }); filtersElem.querySelector('.is_active').classList.remove('is_active'); event.target.classList.add('is_active'); event.preventDefault(); }); } } // Menu Dropdown Toggle if($('.menu-trigger').length){ $(".menu-trigger").on('click', function() { $(this).toggleClass('active'); $('.header-area .nav').slideToggle(200); }); } // Menu elevator animation $('.scroll-to-section a[href*=\\#]:not([href=\\#])').on('click', function() { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { var target = $(this.hash); target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); if (target.length) { var width = $(window).width(); if(width < 991) { $('.menu-trigger').removeClass('active'); $('.header-area .nav').slideUp(200); } $('html,body').animate({ scrollTop: (target.offset().top) - 80 }, 700); return false; } } }); // Page loading animation $(window).on('load', function() { if($('.cover').length){ $('.cover').parallax({ imageSrc: $('.cover').data('image'), zIndex: '1' }); } $("#preloader").animate({ 'opacity': '0' }, 600, function(){ setTimeout(function(){ $("#preloader").css("visibility", "hidden").fadeOut(); }, 300); }); }); })(window.jQuery); |
:: Command execute :: | |
--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0055 ]-- |