Demo page
A jquery plugin for adding a dynamic scroll-to-top button
Usage
<script type="text/javascript"> $("#pageup").pageup(); </script>
Options
Default options
offset: 200, // offset to fade scroll-to-top button fadeDelay: 500, // fadeIn delay time scrollDuration: 400 // smooth scroll duration