⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.91
Server IP:
157.245.101.34
Server:
Linux skvinfotech-website 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
skvcomputers.com
/
js
/
themejs
/
View File Name :
toppanel.js
$(window).on("load", function() { "use strict"; responsiveLayout(); $(window).resize(responsiveLayout()); }); // responsiveLayout Menu var responsiveflagMenu = false; function responsiveLayout(element,eclass){ var $header = $("header"), windowWidth = window.innerWidth || document.documentElement.clientWidth, offset_top = $header.offset().top; if (windowWidth >= 1200 && responsiveflagMenu == false){ processScroll($header, "navbar-compact", offset_top); $(window).scroll(function(){ processScroll($header, "navbar-compact", offset_top); }); responsiveflagMenu = true; } } // processScroll Menu function processScroll(element, eclass, offset_top) { var scrollTop = $(window).scrollTop(); if($(element).height()< $(window).height()){ if (scrollTop > offset_top) { //fix secondary navigation $(element).addClass(eclass); //push the .cd-main-content giving it a top-margin //$('.header-bottom').addClass('has-top-margin'); //on Firefox CSS transition/animation fails when parent element changes position attribute //so we to change secondary navigation childrens attributes after having changed its position value setTimeout(function() { $(element).addClass('animate-children'); }, 150); } else if (scrollTop <= offset_top) { $(element).removeClass(eclass); //push the .cd-main-content giving it a top-margin // $('.header-bottom').removeClass('has-top-margin'); setTimeout(function() { $(element).removeClass('animate-children'); }, 150); } } }