Advertise here

NEW  Video tutorials for jQuery and Javascript are now on Videos page.

scrollFrame – Retain Scroll Position Between Pages using Iframe

July 11, 2014     1788     HTML5 Scroll
scrollFrame – Retain Scroll Position Between Pages using Iframe

Retain your scroll position between pages using an iframe. Especially helpful for infinite scrolling views.

scrollFrame will hijack the user's click for elements that match the query selector you pass in and instead of reloading the page it will append a modal-like iframe that sits on top of your viewport and points to the element's href. It then uses HTML5 history APIs to make the back-button function as expected.

Related Plugins

Latest Plugins


Subscribe to Newsletter

Subscribe to email newsletter for latest jQuery plugins & tutorials.



Comments

AdvertisementAdvertise with us!
Angular, React and Javascript MV* Frameworks | MVish