403Webshell
Server IP : 216.250.13.251  /  Your IP : 216.73.216.164
Web Server : nginx/1.24.0
System : Linux gunay 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : root ( 0)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/gunay/wp-content/themes/rttheme19/js/app/layout1/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/gunay/wp-content/themes/rttheme19/js/app/layout1/drop-right-menu.js
	/* ******************************************************************************* 

		DROP RIGHT MENU

	********************************************************************************** */

	if( ! $.fn.rt_drop_right ){

		$.fn.rt_drop_right = function()
		{ 
			if ($(this).length == 0 ){
				return false;
			}

			$(this).on("mouseover",function(){

				if( $("body").hasClass("mobile-menu") ){
					return false;
				}

				if( $(this).prev() && $(this).parent().hasClass("sub-menu") ){
					var add = 0;
				}else{
					var add = 1;
				}

				var margin_top = -1 * ( $(this).outerHeight() + add );
				var sub_menu = $(this).find("ul:eq(0)").css({"margin-top":margin_top +"px"});

				if ( sub_menu.length == 0 ){
					return false;
				}

				var sub_menu_height = sub_menu.outerHeight(),
					sub_menu_position = $(sub_menu).offset().top,
					_window = $(window),
					window_height = _window.height()+margin_top,
					window_scrollTop = _window.scrollTop(),
					diff = window_height - ( ( sub_menu_position - window_scrollTop ) + sub_menu_height );

					if( diff < 0 ){ 
						sub_menu.css({"margin-top": margin_top + diff + "px"});
					} 

					if( sub_menu.offset().left + 250 > _window.width() ){ 
						sub_menu.css({"right": "250px"});
					} 
			});

		};
	}

	$('#navigation li').rt_drop_right();


Youez - 2016 - github.com/yon3zu
LinuXploit