Handling scrolling of long articles on a blog


/ Published in: JavaScript
Save to your folder(s)

xybookmark is a lightweight JavaScript library that allows the readers of a blog to boomark the scroll position of a long article.
More specifically it saves the scrollX and scrollY state of a page so that when the user revisits the url, the page scrolls down or right to the position that was bookmarked. xybookmark uses localStorage to save the urls of a website

URL: https://github.com/andreasi/xybookmark

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.