No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 9 commits behind jonstipe:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.rdoc
progress-polyfill.css
progress-polyfill.html
progress-polyfill.js

README.rdoc

Progress polyfill

This is a polyfill for implementing the HTML5 <progress> element in browsers that do not currently support it.

Usage

Using it is easy — simply include the progress-polyfill.js file in the HEAD of the HTML page. You can then use <progress> elements normally.

The script will look through each <progress> element on the page and construct its own graphical meter using two <div> elements. This is then added as a child of the <progress> element, to serve as a fallback. Browsers that support <progress> elements will still show them natively, while browsers that don't support them will instead show our <div> meters.

A default css file is provided. You may edit this file to style the meters to make them look the way you want.

Dependencies

This script requires only the jQuery library.