jQuery Horizontal and Vertical Progress Bar Plugin

Add-ons
2026-07-26 00:54 4 次浏览 • 0 次下载 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
});
星河码客

发现和分享优质开源项目,传承互联网精神,为开发者服务。

关于本站

联系我们

微信/广告合作:ITcloub (备注星河码客)

免责声明:本站资源版权归原作者所有,仅供学习与交流。如有侵权,请通过「关于我们 - 侵权投诉」联系删除。

Powered by Nuxt · Deployed on Cloudflare