Sign inSign up

jQuery Horizontal and Vertical Progress Bar Plugin

Add-ons
2026-07-26 00:54 4 views • 0 downloads 2.6KB
jQuery Horizontal and Vertical Progress Bar Plugin

Usage

Reference

1
2
3
<link rel="stylesheet" href="css/schedule.css">
<script src="js/jquery-3.0.0.min.js"></script>
<script src="js/schedule.js"></script>

html

1
2
3
4
5
<!-- Horizontal progress bar -->
<div id="scheduleX"></div>
<!-- Vertical progress bar -->
<div id="scheduleY"></div>

Call the corresponding progress bar function.

1
2
3
4
5
6
7
8
9
10
11
/* Vertical progress bar */
scheduleY({
fulfill: 55, // Selected value
listAll: 100, // Total value
speed: 25, // Animation speed, optional, default: 25. The smaller the value, the faster the animation.
again: false, // Whether the animation starts from zero when the selected value changes. Default: true.
bgColor: "#828282", // Bottom color
listColor: "#5bcde7", // Progress bar color, default: light green
scWidth: "25", //Progress bar width
scHeight: "300" // Progress bar height
});
1
2
3
4
5
6
7
8
9
10
11
/* Horizontal progress bar */
scheduleX({
fulfill: 60, // Selected value
listAll: 100, // Total value
speed: 25, // Animation speed, optional, default: 25. The smaller the value, the faster the animation.
again: false, // Whether the animation starts from zero when the selected value changes. Default: true (starts from zero).
bgColor: "#828282", // Bottom color
listColor: "#ffa439", // Progress bar color, default: light green
scWidth: "400", //Progress bar width
scHeight: "25" // Progress bar height
});