RyanNielson / jquery-progress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jQuery Progress

Progress is a jQuery plugin which displays and elegant progress bar at the top of the page to show scroll progress through targetted page content.

Demo

An example can be found in the examples folder.

Options

height

The height of the progress bar element in pixels. (default="2px")

color

The color hex value of the progress bar before you've reached the bottom of the targetted content. (default="#FF0000")

completeColor

The color hex value of the progress bar once you've reached the bottom of the targetted content. (default="#00FF00")

Setup

Within the HEAD tag or near the bottom of the page place:

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery.progress.min.js"></script>

Choose an element to use Progress on:

$("#element").progress();

Changelog

Version 0.1.0

  • First release

Questions or Problems?

If you have any questions or issues with Progress, please add an issue on GitHub, or send a pull request.

About

License:MIT License


Languages

Language:JavaScript 100.0%