#Features
- Unobtrusive JavaScript
- Animated scroll
- Appear-position configurable
#Usage
Add data-toggle='scrolltop'
to the link or button to toggle it.
Use data-position
attribute to define where it should appear if the current vertical position of the scrollbar is greater than the value, default is 100(px) if not specified.
Example:
<a href="#" data-toggle="scrolltop" data-position="800" style="display: none;">Scroll Top</a>
#Browser Compatibility
- Modern Browser (Chrome, Safari, Firefix, etc.)
- IE 7+