ini langsung copy&paste aja semuanya:
<html><title>show the time!!</title>
<head>
<script language="javascript">
// script diberikan oleh zeroconvergence.com, email ke
[EMAIL PROTECTED]
// berbaik hatilah, tolong baris ini jangan dihapus jika anda menggunakan
script ini.
function showTheHours(theHour){
if (theHour > 0 && theHour < 13){
return (theHour)}
if (theHour == 0){
return (12);}
return (theHour)}
function showZeroFilled(inValue){
if (inValue > 9){
return ":"+inValue;}
return ":0"+inValue;}
function showTheTime(){
now = new Date();
document.theForm.showTime.value = showTheHours(now.getHours()) +
showZeroFilled(now.getMinutes()) + showZeroFilled(now.getSeconds());
setTimeout("showTheTime()",1000);}
</script>
</head>
<body onLoad="showTheTime()">
<form name="theForm">
<center>
sekarang jam: <input type="text" name="showTime" size=6><p>
</center>
</form>
</body>
</html>
semoga berguna, cek web baru saya di http://zeroconvergence.com
--handy gunawan.
[EMAIL PROTECTED]
- Perbesar peluang bisnis Anda dengan www.jatimmall.com
To unsubscribe, e-mail : [EMAIL PROTECTED]
To subscribe, e-mail : [EMAIL PROTECTED]
Netika BerInternet : [EMAIL PROTECTED]
Arsip di http://www.mail-archive.com/[email protected]/