Ceas Digital
2 participanți
Pagina 1 din 1
Ceas Digital
- Cod:
<!-- Script oferit de RoGraphic-->
<!--<html>-->
<!--<head>-->
<!--<html>-->
<!--<head>-->
<script language="JavaScript" link="[Trebuie sa fiti inscris si conectat pentru a vedea acest link]
var clockID = 0;
function UpdateClock() {
if(clockID) {
clearTimeout(clockID);
clockID = 0;
}
var tDate = new Date();
document.theClock.theTime.value = ""
+ tDate.getHours() + ":"
+ tDate.getMinutes() + ":"
+ tDate.getSeconds();
clockID = setTimeout("UpdateClock()", 1000);
}
function StartClock() {
clockID = setTimeout("UpdateClock()", 500);
}
function KillClock() {
if(clockID) {
clearTimeout(clockID);
clockID = 0;
}
}
</script>
<!--</head>-->
<body onload="StartClock()" onunload="KillClock()">
<form name="theClock">
<input type=text name="theTime" size=10 style="text-align: center; background-color:#fff;color:#1E7DD1; border:2px solid #1E7DD1; font-weight: bold; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; -moz-box-shadow: 0 0 5px 5px #888; -webkit-box-shadow: 0 0 5px 5px#888; box-shadow: 0 0 5px 5px #888;">
</form>
<!--</body>-->
<!--</html>-->
Gfx-Art[Bot]- Top Poster
- Data de inscriere : 30/07/2011
Varsta : 30
Localizare : RoGraphic
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum
|
|