Employees who don't have a traditional desk or computer as their primary workspace, such as field service technicians, retail staff, warehouse workers, and mobile service providers. Represent about 80% of the global workforce but often receive less technology investment than office workers.
Fast to set up. Easy to use.
Get your team up and running with Breakroom in 60 seconds. Or schedule a free, personalized demo today.
// Function to update active link function updateActiveLink(activeSectionId) { // Remove active class from all links navigationLinks.forEach(function(link) { link.classList.remove('is-active'); }); // Add active class to the corresponding link var activeLink = document.querySelector('a[href="#' + activeSectionId + '"]'); if (activeLink) { activeLink.classList.add('is-active'); } } // Set up intersection observer for scroll-based active states if (navigationLinks.length > 0) { var observerOptions = { root: null, rootMargin: '-20% 0px -80% 0px', // Trigger when section is 20% from top threshold: 0 }; var observer = new IntersectionObserver(function(entries) { entries.forEach(function(entry) { if (entry.isIntersecting) { updateActiveLink(entry.target.id); } }); }, observerOptions); // Observe all H2 sections headers.forEach(function(header) { observer.observe(header); }); }