Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 477 Bytes

README.MD

File metadata and controls

17 lines (13 loc) · 477 Bytes

Button scroll up/down

First to H1 (if it is not, then it scrolls to the height of the screen), then up.

Demo (example)

Here's the demo.

Dependencies

Third-party libraries are not needed.

Install

Get the latest release from the releases page.

Usage

Before your closing </body> tag add:

<script src="js/button-up-down.js"></script>