scrollFrame can help developers fix a user experience (UX) problem often encountered in websites employing an infinite scrolling layout.
The problem is that when leaving the page to view one of the presented items, when returning to the previous page where the infinite layout has been used the user often has to start over from the top of the page again, losing his previous position.
This library fixes this problem using a neat iframe-based trick, allowing users to navigate away from the infinite layout page, and subsequently return to it in the same location.
Basically whenever wanting to navigate away from the infinite layout page, the scrollFrame library opens up a 100% fullscreen iframe and display your content there on top of the rest of the page.
When wanting to go back to the original page, the iframe is closed without ever losing the original scroll bar location.
A sample page and usage instructions are included with the download package.
Requirements:
- JavaScript enabled on client side
Comments not found