Skip to content

Adds a small button after a certain scroll amount which allows the user to jump back up the page

Notifications You must be signed in to change notification settings

EnjoyDigital/ED-Back-to-top

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Adds a small button after a certain scroll amount which allows the user to jump back up the page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published