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

154
Views
How to store the item currently scrolled to in the URL?

So I have a page that displays a list of 100 items. How would I be able to store the item that is being scrolled to in the URL, so that the user can control which item is scroll to in the URL?

www.site.com/inventory?scroll_position=67
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Include a tag at the text you wish to scroll to:

<a name="scroll_position=67"></a>

The url needs to read: www.myawesomesite.com/inventory#67

When the page loads run the following javascript:

function scrollTo(hash)
{
 location.hash='#'+hash;
}
about 4 years ago · Juan Pablo Isaza Report
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!