2013/12/10
SORALUCEk NASOSENERGOMASHen produkzio prosezua optimizatu du
NASOSENERGOMASH Pump & Power Engineering Works Sumy Ukrainako konpainia industrial garrantzitsuenetakoa da, eta honako sektore hauetako ponpen fabrikazioan espezializatuta dago: nuklearra, petrolioa, gasa, termikoa eta hidroelektrikoa. Ponpen diseinu abangoardista, euren fabrikazio, transformazio eta instalazio probak diseinurako eta ponpa modelo berriak merkaturatzeko oinarri dira; horrela, hornitzen dituen sektoreetako eskaera zorrotzenak asetzen ditu.
NASOSENERGOMASHek DANOBATGROUPeko hiru makina erosi ditu: = sectionTop && scrollPosition < sectionBottom) {
item.classList.add("active");
} else {
item.classList.remove("active");
}
}
});
mobilemenuItems.forEach((item) => {
const targetId = item.getAttribute("href").split('#')[1]
const targetSection = document.getElementById(targetId);
if (targetSection) {
const sectionTop = (targetSection.offsetTop+$('.tm-toolbar').outerHeight()) - ( $('.tm-header-mobile').outerHeight() + $('.tm-top').outerHeight());
const sectionBottom = sectionTop + targetSection.offsetHeight;
if (scrollPosition >= sectionTop && scrollPosition < sectionBottom) {
item.classList.add("active");
} else {
item.classList.remove("active");
}
}
});
}
function attachScrollEvent() {
window.addEventListener('scroll', setActiveMenuItem);
}
function detachScrollEvent() {
window.removeEventListener('scroll', setActiveMenuItem);
}
$(window).scroll(function () {
if ($(this).scrollTop() > 35) {
if (!$('header.tm-header').hasClass('top-zero')) {
$('header.tm-header').addClass('top-zero')
}
} else {
$('header.tm-header').removeClass('top-zero')
}
});
function handlerIn() {
if (!$(this).hasClass('uk-parent') ) {
$('.top-sub-menu').addClass('hide-nav-stripe')
}
}
function handlerOut() {
if (!$(this).hasClass('uk-parent') ) {
$('.top-sub-menu').removeClass('hide-nav-stripe')
}
}
$(document).ready(function() {
$('.uk-navbar-center .uk-active a').on('mouseover', function () {
$('.top-sub-menu').css('z-index','9999')
})
$('.uk-navbar-center .uk-active a').on('mouseout', function () {
$('.top-sub-menu').removeAttr("style")
})
$('.uk-navbar-center .uk-navbar-nav li').on("mouseenter", handlerIn).on("mouseleave", handlerOut);
$('html').css('overflow', 'auto');
$("#tm-dialog-mobile").find("li.uk-parent").prepend('');
$('.parent-item-arrow').on('click', function() {
$(this).toggleClass('up')
$(this).parent().find('.uk-nav-sub').toggleClass('show')
})
$('.top-sub-menu ul li a').on('click', function(event) {
var href = $(this).attr('href');
if (href.includes('#')) {
event.preventDefault();
var target = null
var _this = $(this)
let _trgtId = $(this).attr('href');
if (_trgtId) {
target = $('#'+_trgtId.split('#')[1]);
}
detachScrollEvent();
$('.top-sub-menu ul li a').removeClass('active');
if (target && target.length) {
let tgetOffset = target.offset().top - ($('.tm-toolbar-default').outerHeight() + $('.tm-headerbar-top').outerHeight());
$('html, body').animate({
scrollTop: tgetOffset
}, 1000, function() {
_this.addClass('active');
setTimeout(function() {
attachScrollEvent();
}, 800);
});
} else {
attachScrollEvent();
}
}
});
$('.mobile-sub-menu ul li a').on('click', function(event) {
event.preventDefault();
var target = null
var _this = $(this)
let _trgtId = $(this).attr('href');
if (_trgtId) {
target = $('#'+_trgtId.split('#')[1]);
}
detachScrollEvent();
$('.mobile-sub-menu ul li a').removeClass('active');
if (target && target.length) {
let tgetOffset = (target.offset().top+$('.tm-toolbar').outerHeight()) - ( $('.tm-header-mobile').outerHeight() + $('.tm-top').outerHeight());
$('html, body').animate({
scrollTop: tgetOffset
}, 1000, function() {
_this.addClass('active');
setTimeout(function() {
attachScrollEvent();
}, 800);
});
} else {
attachScrollEvent();
}
});
const activeParentItems = document.querySelectorAll('.uk-active');
activeParentItems.forEach(parentItem => {
const submenuAnchors = parentItem.querySelectorAll('.uk-nav-sub li a');
submenuAnchors.forEach(submenuAnchor => {
if (submenuAnchor.getAttribute('href').includes('#')) {
submenuAnchor.classList.add('hide-hash-submenu');
}
});
});
});
attachScrollEvent()
if (hashValue) {
if (hashValue.charAt(0) === '#') {
var target = null
hashValue = hashValue.substring(1);
if (hashValue) {
target = $('#'+hashValue);
}
detachScrollEvent();
$('.mobile-sub-menu ul li a').removeClass('active');
if (target && target.length) {
let _path = window.location.pathname.split("/");
let _trgetId = '/'+_path[2]+'#'+target.attr('id');
let _trgrtmenu = $('.top-sub-menu ul li a[href="'+_trgetId+'"]')
let _trgrtmbilemenu = $('.mobile-sub-menu ul li a[href="'+_trgetId+'"]')
if (_trgrtmenu.length) {
setTimeout(function() {
let _tmTopHeght = 0
let _tmMobHederpHeght = 0
let _tmTop = $('.tm-top')
let _tmMobHeder = $('.tm-header-mobile')
if (_tmTop.length) {
_tmTopHeght = $('.tm-top').outerHeight()
}
if (_tmMobHeder.length) {
_tmMobHederpHeght = $('.tm-header-mobile').outerHeight()
}
let tgetOffset = (target.offset().top+$('.tm-toolbar').outerHeight()) - (_tmMobHederpHeght + _tmTopHeght);
$('html, body').animate({
scrollTop: tgetOffset
}, 1000, function() {
if (_trgrtmenu) {
_trgrtmenu.addClass('active')
}
if (_trgrtmbilemenu) {
_trgrtmbilemenu.addClass('active')
}
setTimeout(function() {
attachScrollEvent();
}, 400);
});
},500)
} else {
setTimeout(function() {
let _tmTopHeght = 0
let _tmMobHederpHeght = 0
let _tmToolBarHederpHeght = 0
let _tmTop = $('.tm-top')
let _tmMobHeder = $('.tm-header-mobile')
let _tmToolBar= $('.tm-toolbar')
if (_tmTop.length) {
_tmTopHeght = $('.tm-top').outerHeight()
}
if (_tmMobHeder.length) {
_tmMobHederpHeght = $('.tm-header-mobile').outerHeight()
}
if (_tmToolBar.length) {
_tmToolBarHederpHeght = _tmToolBar.outerHeight()
}
let tgetOffset = (target.offset().top + _tmToolBarHederpHeght) - (_tmMobHederpHeght + _tmTopHeght) + 135;
$('html, body').animate({
scrollTop: tgetOffset
});
}, 700);
}
} else {
attachScrollEvent();
}
}
}