Server IP : 103.53.40.154 / Your IP : 3.16.47.89 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/ppcad7no/dalitsoconsulting.com/../adisgauges.com/js/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
jQuery(window).on('load',function(){ //=== Switcher panal slide function =====================// jQuery('.styleswitcher').animate({ 'left': '-220px' }); jQuery('.styleswitcher-right').animate({ 'right': '-220px', 'left': 'auto' }); jQuery('.switch-btn').addClass('closed'); //=== Switcher panal slide function END =====================// }); $(function(){ "use strict"; //=== Switcher panal slide function =====================// jQuery('.switch-btn').on('click',function () { if (jQuery(this).hasClass('open')) { jQuery(this).addClass('closed'); jQuery(this).removeClass('open'); jQuery('.styleswitcher').animate({ 'left': '-220px' }); jQuery('.styleswitcher-right').animate({ 'right': '-220px', 'left': 'auto' }); } else { if (jQuery(this).hasClass('closed')) { jQuery(this).addClass('open'); jQuery(this).removeClass('closed'); jQuery('.styleswitcher').animate({ 'left': '0' }); jQuery('.styleswitcher-right').animate({ 'right': '0', 'left': 'auto' }); } } }); //=== Switcher panal slide function END =====================// //=== Color css change function =====================// // Color changer jQuery(".skin-1").on('click',function(){ jQuery(".skin").attr("href", "css/skin/skin-1.css"); jQuery(".logo-header img").attr("src", "images/logo.png"); jQuery(".logo-header.dark img").attr("src", "images/logo-dark.png"); jQuery(".logo-header.logo-black img").attr("src", "images/logo-black.png"); jQuery(".logo-footer img").attr("src", "images/logo-dark.png"); jQuery(".sidenav .logo-header img").attr("src", "images/logo-dark-1.png"); return false; }); jQuery(".skin-2").on('click',function(){ jQuery(".skin").attr("href", "css/skin/skin-2.css"); jQuery(".logo-header img").attr("src", "images/logo2.png"); jQuery(".logo-header.dark img").attr("src", "images/logo-dark2.png"); jQuery(".logo-header.logo-black img").attr("src", "images/logo-black2.png"); jQuery(".logo-footer img").attr("src", "images/logo-dark2.png"); jQuery(".sidenav .logo-header img").attr("src", "images/logo-dark2.png"); return false; }); jQuery(".skin-3").on('click',function(){ jQuery(".skin").attr("href", "css/skin/skin-3.css"); jQuery(".logo-header img").attr("src", "images/logo3.png"); jQuery(".logo-header.dark img").attr("src", "images/logo-dark3.png"); jQuery(".logo-header.logo-black img").attr("src", "images/logo-black3.png"); jQuery(".logo-footer img").attr("src", "images/logo-dark3.png"); jQuery(".sidenav .logo-header img").attr("src", "images/logo-dark3.png"); return false; }); jQuery(".skin-4").on('click',function(){ jQuery(".skin").attr("href", "css/skin/skin-4.css"); jQuery(".logo-header img").attr("src", "images/logo4.png"); jQuery(".logo-header.dark img").attr("src", "images/logo-dark4.png"); jQuery(".logo-header.logo-black img").attr("src", "images/logo-black4.png"); jQuery(".logo-footer img").attr("src", "images/logo-dark4.png"); jQuery(".sidenav .logo-header img").attr("src", "images/logo-dark4.png"); return false; }); //=== Color css change function =====================// //=== Background image change function =====================// jQuery('.background-switcher li img').on('click',function(){ var imgbg = jQuery(this).attr('dir'); //console.<span id="IL_AD2" class="IL_AD">log</span>(imgbg); jQuery('#bg').css({backgroundImage: "url("+imgbg+")"}); }); //=== Background image change function End=====================// //=== Background pattern change function =====================// jQuery('.pattern-switcher li img').on('click',function(){ var imgbg = jQuery(this).attr('dir'); //console.<span id="IL_AD2" class="IL_AD">log</span>(imgbg); jQuery('#bg').css({backgroundImage: "url("+imgbg+")"}); jQuery("#bg").css( "background-size", "auto") }); //=== Background pattern change function End=====================// //=== Layout boxed & fullscreen change function =====================// jQuery('.layout-view li ').on('click', function(){ jQuery('.layout-view li ').removeClass('active'); jQuery(this).addClass('active'); }); jQuery('.wide-layout').on('click',function() { jQuery("body").addClass('wide-layout') jQuery("body").removeClass('boxed') }); jQuery('.boxed').on('click',function() { jQuery("body").addClass('boxed') jQuery("body").removeClass('wide-layout') }); //=== Layout boxed & fullscreen change function END=====================// //=== Nav light & dark change function END=====================// jQuery('.nav-view li ').on('click', function(){ jQuery('.nav-view li ').removeClass('active'); jQuery(this).addClass('active'); }); jQuery('.nav-light').on('click',function() { jQuery(".header-nav").addClass('nav-light') jQuery(".header-nav").removeClass('nav-dark') }); jQuery('.nav-dark').on('click',function() { jQuery(".header-nav").addClass('nav-dark') jQuery(".header-nav").removeClass('nav-light') }); //=== Nav light & dark change function END=====================// jQuery('.header-view li ').on('click', function(){ jQuery('.header-view li ').removeClass('active'); jQuery(this).addClass('active'); }); jQuery('.header-fixed').on('click',function() { jQuery(".main-bar-wraper").addClass('sticky-header') jQuery(".main-bar-wraper").removeClass('sticky-no') }); jQuery('.header-static').on('click',function() { jQuery(".main-bar-wraper").addClass('sticky-no') jQuery(".main-bar-wraper").removeClass('sticky-header') }); });