Skip to content

A JS plugin which remembers the exact location user was reading in your website after closing/refreshing the page

License

Notifications You must be signed in to change notification settings

wwwAlireza/lastScroll.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lastScroll.js

A JS plugin which remembers the exact location user was reading in your website after closing/refreshing the page

Save the last user scroll in localStorgae and when the user returns to the page or refreshes the scroll does not return to the first and the site starts from the same part where the user has scrolled

how to use?

Just link the script to the relevant html page :)

<script src="lastScroll.js"></script>

Source code is also available in codpen

About

A JS plugin which remembers the exact location user was reading in your website after closing/refreshing the page

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published