یه چیزی همین اول بگم فقط برای اکسپلویر
کد به صورت کامل
<html><head>
<style type='text/css'>
TH {text-align:right};SPAN {vertical-align:bottom};
</style>
<script language='JavaScript'>
var fifteenth = new Date();var sixteenth = 6;var seventeenth = 3;
function eighteenth() { with(document.all) { nineteenth.style.setExpression('width','fifteenth.getHours() * sixteenth * seventeenth','jscript'); twentieth.setExpression('innerHTML','fifteenth.getHours()','jscript'); first2.style.setExpression('width','fifteenth.getMinutes() * sixteenth','jscript'); second2.setExpression('innerHTML','fifteenth.getMinutes()','jscript'); third2.style.setExpression('width','fifteenth.getSeconds() * sixteenth','jscript'); fourth2.setExpression('innerHTML','fifteenth.getSeconds()','jscript') } fifth2();}
function fifth2() { fifteenth = new Date(); document.recalc(); setTimeout('fifth2()',1000);}window.onload=eighteenth;
</script>
<title></title>
</head>
<body>
<TABLE BORDER=0><TR> <TH>Hours:</TH> <TD>
<SPAN ID='nineteenth' STYLE='background-color:black'></SPAN>
<SPAN ID='twentieth'></SPAN></TD></TR><TR>
<TH>Minutes:</TH> <TD>
<SPAN ID='first2' STYLE='background-color:aqua'></SPAN>
<SPAN ID='second2'></SPAN></TD></TR><TR>
<TH>Seconds:</TH> <TD>
<SPAN ID='third2' STYLE='background-color:#00FF40'></SPAN>
<SPAN ID='fourth2'></SPAN></TD></TR></TABLE>
</body>
</html>
تشکر یادت نره . ساعت قشنگیه.