Coder Social home page Coder Social logo

jquery-stepprogressbar's Introduction

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

jquery-stepprogressbar's People

Contributors

mickaelr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jquery-stepprogressbar's Issues

Label overlapping

I love your progress bar. However when I put in my values (12 of them) the first 5 or 6 indicators are overlapping on the webpage. So my values for the steps are as follows:

500
1,000
2,000
3,000
4,000
5,000

10,000
25,000
35,000
45,000
55,000
70,000

So the numbers(topLabel) that are bold are the values that are overlapping. Also the bottomLabel icons are also overlapping.

What would you advise to fix this?

Animation support

is it possible to add animation by filling the progress bar starting from 0 to current value ?

progressFill

Hi! Nice progress bar :)
But I want to use the progressFill property for having a gradient background color.

I found this:

/* if we want to fill progress bar with animated gradient for ex. */
progressFill    : undefined 

Is it possible? Thanks :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.