Server IP : 108.170.25.35 / Your IP : 13.59.1.58 Web Server : Apache/2 System : Linux gains.winzonesoftech.com 4.18.0-513.24.1.el8_9.x86_64 #1 SMP Mon Apr 8 11:23:13 EDT 2024 x86_64 User : sbags ( 1569) PHP Version : 8.1.28 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/sbags/public_html/js/ |
Upload File : |
jQuery(document).ready(function ($) { "use strict"; function elementskit_event_manager(_event, _selector, _fn){ $(document).on(_event, _selector, _fn); } elementskit_event_manager('click', '.elementskit-dropdown-has > a', function (e) { e.preventDefault(); var menu = $(this).parents('.elementskit-navbar-nav'); var li = $(this).parent(); var dropdown = li.find('>.elementskit-dropdown'); dropdown.find('.elementskit-dropdown-open').removeClass('elementskit-dropdown-open'); jQuery(window).on('resize', function() { if (jQuery(window).width() > 991) { jQuery(dropdown).removeClass('elementskit-dropdown-open'); } }) if(dropdown.hasClass('elementskit-dropdown-open')){ dropdown.removeClass('elementskit-dropdown-open'); }else{ dropdown.addClass('elementskit-dropdown-open'); } }); elementskit_event_manager('click', '.elementskit-menu-toggler', function (e) { e.preventDefault(); var parent_conatiner = $(this).parents('.elementskit-menu-container').parent(); if(parent_conatiner.length < 1){ parent_conatiner = $(this).parent(); } var off_canvas_class = parent_conatiner.find('.elementskit-menu-offcanvas-elements'); jQuery(window).on('resize', function() { if (jQuery(window).width() > 991) { off_canvas_class.removeClass('active'); } }) if(off_canvas_class.hasClass('active')){ off_canvas_class.removeClass('active'); }else{ off_canvas_class.addClass('active'); } }); }); // end ready function