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

196
Views
Is there an event that deal with after window.scrollTo method is fired?

Hello Guys is there a way to be notified after window scrolls using this method window.scrollTo(0, 500). In my case , I have scrolled up the window (vertical scroll ) to position 500px . I am looking for an event or way to deal with after window scroll gets 500px .If you see this example , alert(window.scrollY) don' t return the value passed to scrollTo method which is expected to be 500px but return 0 (init scroll )

window.scrollTo(0,500) ; // fired scroll 
alert(window.scrollY)  // check the scroll value , return 0

NB :Any tip will be helpfull

about 4 years ago · Juan Pablo Isaza
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!