Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 691 Bytes

README.md

File metadata and controls

38 lines (30 loc) · 691 Bytes

ED Back to top

ED Back to top is exactly what it says on the tin, it adds a small button at the bottom right of the screen with an up arrow and smoothly scrolls the user back up. It only shows after a set distance has been scrolled.

###How to use

Include the plugin

<script src="js/edBackToTop.min.js"></script>

###Initialise the plugin

<script>
$(function(){
	$.edBackToTop();
});
</script>

###Options

Option Default Description
fromTop 50 The distance from the top that the arrow shows