Skip to content

A simple plugin to add the scroll to top image/symbol to your website

License

Notifications You must be signed in to change notification settings

bhaskarmac/scrollToTop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scrollToTop

Introduction A simple plug-in to add the scroll to top image/symbol to your web page

USAGE Initialize the plugin with custom options:

$(document).scrollToTop({
  bottom: "30px", // Bottom position
  right: "30px", // Right position
  bgColor: "#667eea", // Background color
  text: "↑ TOP", // Button text/icon
  fontSize: "14px", // Text font size
  scrollThreshold: 100, // Pixels to scroll before showing button
  duration: 300, // Animation duration in milliseconds
});

About

A simple plugin to add the scroll to top image/symbol to your website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published