SNS運用長期インターン募集

関連記事

/* JAPUMP intern CTA v2 | run on internship landing pages only */ (function () { if (window.__jpInternStickyV2Installed) return; window.__jpInternStickyV2Installed = true; function setup() { document.querySelectorAll('.jp-intern-landing').forEach(function (page) { if (page.dataset.jpStickyV2Ready === '1') return; var heroButton = page.querySelector('.hero-actions a.btn:not(.outline)'); var endCTA = page.querySelector('#entry'); var sticky = page.querySelector('.jp-sticky-cta'); if (!heroButton || !endCTA || !sticky) return; page.dataset.jpStickyV2Ready = '1'; var link = sticky.querySelector('a'); var queued = false; function update() { queued = false; var hero = heroButton.getBoundingClientRect(); var end = endCTA.getBoundingClientRect(); var heroAboveViewport = hero.bottom <= 0; var endCTAIsVisible = end.top < window.innerHeight && end.bottom > 0; var show = heroAboveViewport && !endCTAIsVisible && end.top >= window.innerHeight; sticky.classList.toggle('jp-sticky-visible', show); sticky.setAttribute('aria-hidden', show ? 'false' : 'true'); if (link) link.tabIndex = show ? 0 : -1; } function schedule() { if (queued) return; queued = true; window.requestAnimationFrame(update); } window.addEventListener('scroll', schedule, {passive: true}); window.addEventListener('resize', schedule); window.addEventListener('pageshow', schedule); update(); }); } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', setup, {once:true}); } else { setup(); } window.addEventListener('load', setup); })();