Full Body Workouts | Ultimate Guide to Full Body


Full Body Workouts | Ultimate Guide to Full Body | ATHLEAN-X { if (headerEl) { if (!entries[0].isIntersecting) { headerEl.classList.add(stuckClass) } else { headerEl.classList.remove(stuckClass) } } } const observer = new window.IntersectionObserver(handler) observer.observe(headerSpacer) //window.addEventListener( ‘scroll’, menuScroll ); $( “#branding”).on(‘webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend’, function (e) { if (!$(“#page”).hasClass(“scrolled”) && !$(“#site-nav, .sub-menu-2018”).hasClass(‘fadein’)) { //console.log(“Firing”); RCHwinResize(); } } ); setTimeout( RCHwinResize(), 400); const topLevelLinks = document.querySelectorAll(‘#site-nav a’); topLevelLinks.forEach(link => { if (link.nextElementSibling) { link.addEventListener(‘focus’, function() { document.getElementById(‘site-nav’).classList.add(‘fadein’); document.getElementById(‘site-nav’).classList.remove(‘fadeout’) }) const subMenu = link.nextElementSibling const subMenuLinks = subMenu.querySelectorAll(‘a’) const lastLinkIndex = subMenuLinks.length – 1 const lastLink = subMenuLinks[lastLinkIndex] lastLink.addEventListener(‘blur’, function() { document.getElementById(‘site-nav’).classList.remove(‘fadein’) document.getElementById(‘site-nav’).classList.add(‘fadeout’) }) } }) const topLevelLinks3 = document.querySelectorAll(‘.drop-menu’); topLevelLinks3.forEach(link => { const lastlength = link.querySelectorAll(‘a’).length-1; const lastlink3 = link.querySelectorAll(‘a’)[lastlength]; const parentcontainer3 = link.id; const allLinks = link.querySelectorAll(‘a’); allLinks.forEach(linkinner => { linkinner.addEventListener(‘focus’, function() { document.getElementById(parentcontainer3).classList.add(‘fadein’) document.getElementById(parentcontainer3).classList.remove(‘fadeout’) }) }) lastlink3.addEventListener(‘blur’, function() { document.getElementById(parentcontainer3).classList.add(‘fadeout’) document.getElementById(parentcontainer3).classList.remove(‘fadein’) }) }) loadaxcart(); checkGaScroll() }) RCHwinResize(); function checkGaScroll(){ if (scrollEventSent != true) { if(typeof __gaTracker != ‘undefined’ ){ __gaTracker(‘send’, ‘event’, ‘Log’, ‘Scroll’, ‘Page’ ); scrollEventSent = true; } else{ setTimeout(checkGaScroll(), 1000); } } } ]]>

You May Also Like

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다