写了一个数字时钟有倒影的,演示:http://www.phpfine.com/daoying.htm
<html>
<head>
<title>数字时钟有倒影</title>
<SCRIPT LANGUAGE="JavaScript">
<!--
function ShowTime()
{
var year,month,hour,minute,second,msg;
nowtime=new Date();
year=nowtime.getFullYear();
month=nowtime.getMonth()+1;
day=nowtime.getDate();
hour=nowtime.getHours();
minute=nowtime.getMinutes();
second=nowtime.getSeconds();
msg=year+":"+month+":"+day+":"+hour+":"+minute+":"+second;
hlb.innerHTML=msg;
hlb1.innerHTML=msg;
setTimeout("ShowTime()",1000);
}
//-->
</SCRIPT>
</head>
<body onload="ShowTime()">
<span id="hlb" style="color:red; position:absolute; font-size:20px; font-weight:bolder"></span><br>
<span id="hlb1" style="color:red; position:absolute; filter:flipv() alpha(opacity=40);font-size:20px; font-weight:bolder"></span>
</body>
</html>
[此贴子已经被作者于2007-8-25 21:58:45编辑过]