- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
if ($('ul.menu>li>ul>ul>li>a.active-trail').length == 1) {
$('ul.menu>li>ul>ul>li>a.active-trail').addClass('work-active');
if ($('ul.menu>li>ul>ul>li>a.active-trail').parent('li.hide_li').length == 1) {
$('li.active-trail').removeClass('active-trail');
} else {
$('.active-trail').removeClass('active-trail');
}
$('.work-active').addClass('active-trail');
$('.menu>.first ul').show();
$('li.first').addClass('activefirst');
$('#block-system-main-menu ul.menu>li.first a').css("border-bottom", "none");
} else if ($('ul.menu>li>ul>li>a.active-trail').length == 1) {
$('ul.menu>li>ul>li>a.active-trail').addClass('work-active');
$('.active-trail').removeClass('active-trail');
$('.work-active').addClass('active-trail');
$('.menu>.first ul').show();
$('li.first').addClass('activefirst');
$('#block-system-main-menu ul.menu>li.first a').css("border-bottom", "none");
} else {
$('#block-system-main-menu ul.menu>li.first a').css("border-bottom", "1px #E7E7E7 solid");
}