$(function() {
$('.xqProgress').xqProgress();
//Change progress rate of the first progressbar
$('.xqProgress:eq(0)').xqProgress().progress(50);
});
@CHARSET "UTF-8";
.xqProgress {
width: 300px;
height: 36px;
color: #fff;
font-size: 14px;
font-weight: bold;
text-shadow: 2px 2px 2px #000;
line-height: 36px;
text-align: center;
overflow: hidden;
background-image: url(/images/progressbar.png);
background-repeat: no-repeat;
background-position: 0 0;
}
.xqProgress div {
width: 0;
height: 36px;
color: #fff;
font-size: 14px;
font-weight: bold;
text-shadow: 2px 2px 2px #000;
line-height: 36px;
text-align: center;
overflow: hidden;
background-image: url(/images/progressbar.png);
background-repeat: no-repeat;
background-position: 0 -36px;
}
.status {
display: block;
width: 300px;
overflow: hidden;
}
<div class="xqProgress"></div>
<div class="xqProgress"></div>
<div class="xqProgress"></div>