Skip to content

A jQuery / CSS progress bar that can display several steps

License

Notifications You must be signed in to change notification settings

mickaelr/jquery-stepProgressBar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StepProgressBar [IN PROGRESS]

Progress bars are a bit limited when you want to display several steps on it (usually the bar starts at 0 and finishes at 100, so current value is in percents).

The aim of this plugin is to easily build fully customizable progress bar, that can handle more than one single step.

Installation

For now, the plugin has only dependencies with jQuery, so you can include it like following with plugin's js & css files.

Usage

HTML

    <head>
        <link href="path/to/plugin/jquery.StepProgressBar.css" rel="stylesheet">
    </head>
    <body>
        <div id="element"></div>
        <script src="path/to/jquery/jquery.js"></script>
        <script src="path/to/plugin/jquery.StepProgressBar.js"></script>
    </body>

JAVASCRIPT

    $(document).ready(function() {
        $('#element').stepProgressBar({
            currentValue: 50,
            steps: [
                {value: 0},
                {value: 100}
            ]
        });
    });

Demo

See demo project page

License

The plugin is under MIT License

About

A jQuery / CSS progress bar that can display several steps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published