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

209
Views
How to add anchors to url based on which project in viewport

How can I add / change the #anchor in the url depending on to which project I scrolled?

So, when I scroll over the projects on my one-pager, I want the URL to change dynamically:

www.likethis.com#project-1
www.likethis.com#project-2
www.likethis.com#project-3

In the end, I want to be able to share URLs which link directly to projects on the page.

Everything I found so far is something like "data-url" or setting an article to "active"?

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!