|
|
|
Часы
<html>
<head>
<script language="JavaScript">
var stnr="";
var ns="0123456789";
var a="";
var isn=new Array(); // Netscape 3.0 specific call
for (var i=0;i<10;i++)
{
isn[i]=new Image(); // Netscape 3.0 specific call
isn[i].src="nr/"+i+".gif";
}
function dynTim()
{
var now=new Date();
var hrs=now.getHours();
var min=now.getMinutes();
clckh=""+((hrs<10)?"0":"")+hrs; // format to 2 digits
clckh+=((min<10)?"0":"")+min; // format to 2 digits
for (var i=0;i
</head>
<body>
<img src="nr/0.gif" name="t1">
<img src="nr/0.gif" name="t2">
<img src="nr/c.gif">
<img src="nr/0.gif" name="t3">
<img src="nr/0.gif" name="t4">
<script language="JavaScript">
<!--Hide JavaScript from Java-Impaired Browsers
dynTim();
// End Hiding -->
</script>
</body>
</html>
|
|
|