Clock
Description:
極々普通の時計です。
Demo:
Source:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<script language="JavaScript" type="text/javascript">
<!--
function basicclock() {
var now = new Date();
yea = now.getYear(); mon = now.getMonth()+1; day = now.getDate();
hou = now.getHours(); min = now.getMinutes(); sec = now.getSeconds();
document.bclockform.bclocktextarea.value= yea +"/"+ mon +"/"+ day +" "+ hou +":"+ min +":"+ sec;
setTimeout('basicclock()',100);
}
//-->
</script>
</head>
<body onload="basicclock()">
<form name="bclockform" method="post">
<input name="bclocktextarea" size="25">
</form>
</body>
</html>
Advice:
Arrangement:
Browser:
Internet Explorer3.0以上
Netscape Navigator2.0以上