|
How to use this clock???
Step 1 : Add onload="timeDisplay()" to the <body> of your page, for example:
<body bgcolor="#FFFFFF" onload="timeDisplay()">
This is a very very IMPORTANT step! If you forgot to put that up, the clock won't work!!
if you have any problems in doing this step, ask princess moon now!
Step 2 : Copy the following HTML fragments and paste anywhere you like :
<script
language="JavaScript"><!--
function timeDisplay()
{
today=new Date()
showTime=today.getHours() + " : " + today.getMinutes() + " : " +
today.getSeconds()
document.msg.time.value=showTime
timerID=setTimeout("timeDisplay()",1000)
}
// --></script><div align="center"><center>
<table border="2" cellpadding="0" cellspacing="0"
bordercolor="#FF0080">
<tr>
<td><table border="0" cellpadding="0"
cellspacing="0">
<tr>
<td><a
href="http://westwood.fortunecity.com/galliano/855/clock.htm"><img
src="http://www.crosswinds.net/~moonp/image66.gif"
alt="Sailor Clock!!!" border="0" width="74"
height="75"></a></td>
<td><font color="#FF0080"
face="Arial"><strong>The</strong></font><font
color="#FF0080"><strong> </strong></font><font
color="#FF0080" face="Arial"><strong>time now is
</strong></font><div
align="center"><center><table border="0">
<tr>
<td><form name="msg">
<p><input type="text" size="12"
name="time"> </p>
</form>
</td>
</tr>
</table>
</center></div></td>
</tr>
</table>
</td>
</tr>
</table>
</center></div>