{
    分享网正式开通,我们为大家提供免费资源,欢迎大家踊跃投稿!

jQuery硬盘容量使用情况百分比特效

这是一款jQuery实现的显示硬盘容量使用情况百分比特效,硬盘百分比进度条js代码。


js代码

<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/jquery.spider.disk.js"></script>
<script type="text/javascript">
var data1={total:'1T',users:'500G',peruser:'50%',disks:[
{id:'10000',name:'C:/',value:'50',total:'500G'},
{id:'10001',name:'D:/',value:'20',total:'500G'},
{id:'10002',name:'E:/',value:'10',total:'500G'},
{id:'10003',name:'F:/',value:'10',total:'500G'},
{id:'10004',name:'G:/',value:'10',total:'500G'}]}; 

var data2={total:'1T',users:'500G',peruser:'50%',disks:[
{id:'10000',name:'C:/',value:'90',total:'500G'},
{id:'10001',name:'D:/',value:'20',total:'500G'},
{id:'10002',name:'E:/',value:'50',total:'500G'},
{id:'10003',name:'F:/',value:'50',total:'500G'},
{id:'10004',name:'G:/',value:'85',total:'500G'}]}; 

$(document).ready(function(){
	refresh(data1);
});
function refresh(data){
	$("#disk_a").disk("poll1",{
		title:'硬盘使用情况',
		//titleColor:'#ff6600',
		width:'100%',
		data:data
	});	
}
</script>


在线预览
资源均来自第三方,谨慎下载,前往第三方网站下载


米微资源分享网 , 版权所有丨本站资源仅限于学习研究,严禁从事商业或者非法活动!丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:jQuery硬盘容量使用情况百分比特效
喜欢 ()分享 (0)