Hello welcome to this clock example.If you need a clock to put on your website,just copy the code below and the clock will appear as above.You can place the codes in the body of the HTML file.Have fun and do sign my guestbook on your wayout.Contact me for any help.




Use this code to put this clock on your page
<center>
<form name="clock">
<input name="face" type="text" value="hh:mm:ss" size="8">
</form>
<script language="javascript">
<!--
updateClock();
function updateClock()
{
var time=new Date();
var hours=time.getHours();
var minutes=time.getMinutes();
var seconds=time.getSeconds();
document.clock.face.value=
((hours<10)?'0'+hours:hours)+':'+
((minutes<10)?'0'+minutes:minutes)+':'+
((seconds<10)?'0'+seconds:seconds);
setTimeout("updateClock()",1000);
}
//-->
</script>
</center>



.........







Email: tashu74@yahoo.com



This page is hosted by GEOCITIES Get your own Free Homepage


1