403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/templates/aspro_next_rospiro/js/blocks/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/templates/aspro_next_rospiro/js/blocks/blocks.js
InitMenuNavigationAim = function(){
	var $block = $('.menu-navigation__sections-wrapper .menu-navigation__sections:not(.aim-init)');
	if($block.length){
		$block.addClass('aim-init');
		$block.menuAim({
	        firstActiveRow: true,
	        rowSelector: "> .menu-navigation__sections-item",
	        activate: function activate(a) {
	            var _this = $(a),
	                index = _this.index(),
	                items = _this.closest('.menu-navigation__sections-wrapper').next(),
	                link = _this.find('> a');

	            _this.siblings().find('> a').addClass('dark_link')
	            link.addClass('colored_theme_text').removeClass('dark_link');
	            items.find('.parent-items').siblings().hide();
	            items.find('.parent-items').eq(index).show();
	        },
	        deactivate: function deactivate(a) {
	            var _this = $(a),
	                index = _this.index(),
	                items = _this.closest('.menu-navigation__sections-wrapper').next(),
	                link = _this.find('> a');

	          link.removeClass('colored_theme_text').addClass('dark_link');
	          items.find('.parent-items').siblings().hide();
	        }
	    });
	}
}

$(document).ready(function(){
	/*many items menu*/
	InitMenuNavigationAim();
	/**/
})

Youez - 2016 - github.com/yon3zu
LinuXploit