Display Script Description:
: Add the following code to the area:
<span Id=liveclock style=position:absolute;left:250px;top:122px;; width:109px; Height:15px>
</span> (You can adjust the position of the clock here.) Remove the contents of parentheses when calling a script
<script language=javascript>
<!--
function show5 () {if (!document.layers&&!document.all)
Return
var digital=new Date ()
var hours=digital.gethours ()
var minutes=digital.getminutes ()
var seconds=digital.getseconds ()
var dn= "AM"
if (hours>12) {dn= "PM"
Hours=hours-12
}if (hours==0)
Hours=12
if (minutes<=9)
minutes= "0" +minutes
if (seconds<=9)
seconds= "0" +seconds
Change font Size your desire
myclock= "<font size= ' 5 ' face= ' Arial ' ><b><font size= ' 1 ' >current time:</font></br>" + hours+ ":" +minutes+ ":"
+seconds+ "" +dn+ "</b></font>"
if (document.layers) {document.layers.liveclock.document.write (Myclock)
Document.layers.liveclock.document.close ()
}else if (document.all)
Liveclock.innerhtml=myclock
SetTimeout ("show5 ()", 1000)
}
>
</SCRIPT>