Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 443 Bytes

README.md

File metadata and controls

30 lines (26 loc) · 443 Bytes

whereurat

Add a bar to show where your scroll is on the top of the page

usage

##include the script

<script type="text/javascript" src="whereURAt.js"></script>

##run the script

whereURAt.add();

configuration

whereURAt.add(config);

##example config:

{
    barId: 'whereURAt-bar',
    barColor: '#298AD9',
    barHeight: '2px',
    animate: true,
    animationSpeed: 0.1,
    zIndex: '999999'
}