- 爱易网页
-
Windows教程
- windows8经典钟表
日期:2014-05-17 浏览次数:20962 次
windows8经典时钟
<script>
dCol = '000000';
fCol = '6666FF';
sCol = '000000';
mCol = '000000';
hCol = '000000';
ClockHeight = 40;
ClockWidth = 40;
ClockFromMouseY = 0;
ClockFromMouseX = 100;
d = new Array("SUNDAY", "MONDAY", "TUESDAY", "WEDNSEDAY", "THURSDAY", "FRIDAY", "SATURDAY");
m = new Array("JANUARY", "FEBRUARY", "MARCH", "APRIL", "MAY", "JUNE", "JULY", "AUGUST", "SEPTEMBER", "OCTOBER", "NOVEMBER", "DECEMBER");
date = new Date();
day = date.getDate();
year = date.getYear();
if (year < 2000) year = year + 1900;
TodaysDate = " " + d[date.getDay()] + " " + day + " " + m[date.getMonth()] + " " + year;
D = TodaysDate.split('');
H = '...';
H = H.split('');
M = '....';
M = M.split('');
S = '.....';
S = S.split('');
Face = '1 2 3 4 5 6 7 8 9 10 11 12';
font = 'Arial';
size = 1;
speed = 0.6;
ns = (document.layers);
ie = (document.all);
Face = Face.split(' ');
n = Face.length;
a = size * 10;
ymouse = 190;
xmouse = 80;
scrll = 0;
props = "<font face=" + font + " size=" + size + " color=" + fCol + "><B>";
props2 = "<font face=" + font + " size=" + size + " color=" + dCol + "><B>";
Split = 360 / n;
Dsplit = 360 / D.length;
HandHeight = ClockHeight / 4.5
HandWidth = ClockWidth / 4.5
HandY = -7;
HandX = -2.5;
scrll = 0;
step = 0.06;
currStep = 0;
y = new Array(); x = new Array(); Y = new Array(); X = new Array();
for (i = 0; i < n; i++) { y[i] = 0; x[i] = 0; Y[i] = 0; X[i] = 0 }
Dy = new Array(); Dx = new Array(); DY = new Array(); DX = new Array();
for (i =
免责声明: 本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。