Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

182
Views
Uso inesperado de 'pageYOffset' no-restricted-globals
const sections = document.querySelectorAll("section"); const navLi = document.querySelectorAll("nav .container ul li"); window.addEventListener("scroll", () => { let current = "";<br> sections.forEach((section) => { const sectionTop = section.offsetTop; const sectionHeight = section.clientHeight;<br> if (pageYOffset >= sectionTop - sectionHeight / 3) {<br> current = section.getAttribute("id"); } }); navLi.forEach((li) => { li.classList.remove("active");

mostrando error: uso inesperado de 'pageYOffset' no-restricted-globals,. ¿Hay alguna solución para esto?

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!