403Webshell
Server IP : 178.63.100.251  /  Your IP : 216.73.216.228
Web Server : LiteSpeed
System : Linux dobby.thevpsserver.com 4.18.0-553.16.1.lve.el8.x86_64 #1 SMP Tue Aug 13 17:45:03 UTC 2024 x86_64
User : truewayi ( 1855)
PHP Version : 7.4.33
Disable Function : show_source,system,shell_exec,passthru,exec,popen,proc_open
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/truewayi/public_html/wp-content/themes/omexo/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/truewayi/public_html/wp-content/themes/omexo/assets/js/custom.js
(function ($) {
    "use strict";

    jQuery(document).ready(function($){
        /*---------------------------------------------------
            Off canvas mobile menu
        ----------------------------------------------------*/
        $('.main-navigation-mobile .menu-item-has-children > a').each(function() {
            $(this).prepend('<span><i class="fa fa-angle-right"></i></span>');
        });
        $('.main-navigation-mobile .menu-item-has-children a > span').on('click', function(e) {
            e.preventDefault();
            var parentLi = $(this).parent();
            parentLi.toggleClass('open');
            var subMenu = parentLi.parent().children('.sub-menu');
            subMenu.slideToggle();
        });

        $(".header-menu-bar").on("click", function () {
            $(".offcanvas-inner-wrap").addClass("opened");
            $("body").addClass("body-overlay");
        });
        $(".close-btn").on("click", function () {
            $(".offcanvas-inner-wrap").removeClass("opened");
            $(".body-overlay").removeClass("apply");
        });

        $('.header-search.expand .search-icon,.search-wrapper .search-form-close').on('click', function(e){
            e.preventDefault();
            $('.search-wrapper').slideToggle(600);
        });

        

        /*---------------------------------------------------
            Mobile Login and Registration
        ----------------------------------------------------*/
        $(".header-log-reg-mobile .user-log-reg-icon").on('click',function(){
            $(".user-log-reg-menu").slideToggle("slow");
          });

        /*---------------------------------------------------
            Sticky Menu
        ----------------------------------------------------*/
        $(window).on('scroll', function () {
            var scroll = $(window).scrollTop();
            if (scroll < 100) {
                $(".site-header ").removeClass("sticky-header");
            } else {
                $(".site-header").addClass("sticky-header");
            }
        });

        /*---------------------------------------------------
            Sticky Search Form
        ----------------------------------------------------*/
        $('.header-search .search-icon span').on('click', function () {
            $('.sticky-search-form').css({
                'visibility': 'visible',
                'opacity': '1',
                'transform': 'scale(1)'
            });
        });
        $('.sticky-search-close').on('click', function () {
            $('.sticky-search-form').css({
                'visibility': 'hidden',
                'transform': 'scale(0)'
            });
        });

    });

    /*---------------------------------------------------
        Window Load Function
    ----------------------------------------------------*/
    jQuery(window).on('load', function() {
        $('.preloader').fadeOut(500);
    });
}(jQuery));

Youez - 2016 - github.com/yon3zu
LinuXploit