<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>jQuery会员等级进度条显示代码</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="js/jquery.min.js" type="text/javascript"></script>
<script src="js/jquery-progress.js" type="text/javascript"></script>
</head>
<body><script src="/demos/googlegg.js"></script>
<div class="waic progress"></div>
<script type="text/javascript">
$(function(){
var geshu = $(".djwai").children(".dengji").length;
// alert(geshu);
var wid = $(".djwai").width()/geshu/2;
// alert(wid);
var widt = wid + "px";
// alert(widt);
$(".xianpa").css({"padding-left":widt,"padding-right":widt});
$(".yixif").css({"padding-left":widt,"padding-right":widt});
});
$(".progress").startProgress({
"nodes":[
{"name":"普通","money":0},
{"name":"银卡","money":100},
{"name":"金卡","money":300},
{"name":"白金卡","money":500},
{"name":"黄金卡","money":1000}
],
"hasPay":888
});
</script>
<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
<p>适用浏览器:360、FireFox、Chrome、Opera、傲游、搜狗、世界之窗. 不支持Safari、IE8及以下浏览器。</p>
<p>更多源码下载:<a href="http://www.96flw.com" target="_blank">www.96flw.com</a></p>
</div>
</body>
</html>