摘要: var time=new Date();//Acquisition time now 获取当前时间var h=time.getHours();var m=time.getMinutes();var s=time.getSeconds();//console.log((Math.PI*2)/12);h=h>12?(h-12)*5+parseInt(m/12):h*5+parseInt(m/12);//时针初始位置 hour pointer default location var x=200,y=200,sa=0;var colors = ['#ffffff','# 阅读全文
posted @ 2012-09-07 17:29 平阳小安 阅读(161) 评论(0) 推荐(0) 编辑