Simple jQuery Progress Bar Plugin LineProgressbar.js

Add-ons
2026-07-26 00:37 4 views • 0 downloads 1.8KB
Simple jQuery Progress Bar Plugin LineProgressbar.js

LineProgressbar.js is one of the simplest jQuery progress bar plugins. It allows you to create animated linear progress bars and configure properties such as color, height, and rounded corners.

Usage

Include the jquery.lineProgressbar.css and jquery.lineProgressbar.js files in your page.

1
2
<link rel="stylesheet" href="path/to/jquery.lineProgressbar.css">
<script src="path/to/js/circleMagic.js"></script>

Use a <div> element as the progress bar container.

1
<div id="progressbar1"></div>

After the page DOM elements have finished loading, initialize this jQuery progress bar plugin using the LineProgressbar() method.

1
$('#progressbar1').LineProgressbar();

The available configuration options for the LineProgressbar.js progress bar plugin include:

Parameters

Defines the width of the progress bar.

TypeDefault ValueDescription
percentageintnullDefines the percentage value of the progress bar.
ShowProgressCountbooleantrueDefines whether to display the percentage value.
durationint1000Defines the animation speed of the progress bar. The default is 1000 milliseconds. You can use an integer value or the keywords: slow or fast.
fillBackgroundColorstring'#3498db'Defines the background fill color of the progress bar.
backgroundColorstring'#EEEEEE'Defines the background color of the progress bar.
radiusstring'0px'Defines the rounded corners of the progress bar.
heightstring'10px'Defines the height of the progress bar.
widthstring'100%'
StarCode

Discover and share great open-source projects. We serve developers and carry the spirit of the internet forward.

Contact

WeChat / advertising: ITcloub (please mention StarCode)

Disclaimer: Resources on this site remain the property of their original authors and are for learning and exchange only. For copyright concerns, contact us via About us → Copyright complaints.

Powered by Nuxt · Deployed on Cloudflare