Html Ambarı
|
Belirtilen Kod
Kod Bilgileri |
<head>
<SCRIPT LANGUAGE="JavaScript"> <!-- Original: Tomleung (lok_2000_tom@hotmail.com) This tag should not be removed--> <!-- Begin function MakeArrayday(size) { this.length = size; for(var i = 1; i <= size; i++) { this[i] = ""; } return this; } function MakeArraymonth(size) { this.length = size; for(var i = 1; i <= size; i++) { this[i] = ""; } return this; } function sClock() { work(1,30,0); } function work(h,m,s) { if (!document.layers && !document.all) return; var runTime = new Date(); var hours = h; var minutes = m; var seconds = s; var dn = "AM"; var shours = h; var sminutes = m; var sseconds = s; if (shours >= 12) { dn = "PM"; shours = shours - 12; } if (shours == 0) { shours = 12; } if (sminutes <= 9) { sminutes = "0" + sminutes; } if (sseconds <= 9) { sseconds = "0" + sseconds; } if (shours <= 9) { shours = "0" + shours; } movingtime = ""+ shours + ":" + sminutes +":"+sseconds+"" + dn + ""; if (document.layers) { document.layers.clock.document.write(movingtime); document.layers.clock.document.close(); } else if (document.all) { clock.innerHTML = movingtime; } if (seconds <=58) { seconds=seconds+1; }else { seconds=0; minutes=minutes+1; } if (minutes <=59) { }else { hours=hours+1; } if (hours <=23) { if (minutes ==60) { minutes=0; } }else if (hours ==24) { hours=0; minutes=0; } setTimeout("work("+hours+","+minutes+","+seconds+")",1000); } // End --> </script> </head> <body onLoad="sClock();"> <BR> The experimental server time is: <span id=clock style="position:relative;"></span>
|
Bugün 7 ziyaretçi (10 klik) kişi burdaydı!
dakika saniye misafirim oldunuz Bu web sitesi ücretsiz olarak Bedava-Sitem.com ile oluşturulmuştur. Siz de kendi web sitenizi kurmak ister misiniz? Ücretsiz kaydol
|