--:--:--
<script>
//<![CDATA[
onload = function Startmove()
{
tm=window.setInterval("movetext();",60)
}
//]]>
function movetext()
{
var today= new Date();
var str="am"
if (today.getHours()>12)
str="pm"
mytime.innerHTML="<b><i>"+today.getHours()+":"+today.getMinutes()+":"+today.getS
econds()+str
}
function Stopmove()
{
window.clearInterval(tm)
}
</script>
<div id=mytime style="background:orange;
border-style:double;font-family:Lucida Sans;width:101px">--:--:--</div>
No comments:
Post a Comment
Thanks for visiting my Blog!