Author: | changbenny |
---|---|
Views Total: | 316 views |
Official Page: | Go to website |
Last Update: | April 19, 2016 |
License: | MIT |
Preview:

Description:
Scrollbear is a small yet useful JavaScript library for maintaining scroll position to prevent page content jumping when loading images.
How to use it:
Download and insert the scrollbear.js into your webpage.
<script src='scrollbear.js'></script>
Active the Scrollbear on a specific container. That’s it.
Scrollbear.start(document.querySelector('#container'))