Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

AltStyle によって変換されたページ (->オリジナル) /