NameSilo

JS Live Clock

SpaceshipSpaceship
Watch
HTML:
/*
Save as clock.html and upload
*/
<HTML>
<TITLE>Clock</TITLE>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
function showFilled(Value) {
  return (Value > 9) ? "" + Value : "0" + Value;
}
function StartClock24() {
  TheTime = new Date;
  document.clock.showTime.value = showFilled(TheTime.getHours()) + ":" + showFilled(TheTime.getMinutes()) + ":" + showFilled(TheTime.getSeconds());
  setTimeout("StartClock24()",1000)
}
//-->
</script>
<style type="text/css">
<!--
.input { border-style: none;
         font-family:Verdana,Arial,Helvetica,sans-serif;
	 font-size:8pt
}
-->
</style>
</head>
<BODY bgcolor="#FFFFFF" onLoad="StartClock24()">
<center>
  <br>
  <br>
  <br>
  <br>
  </font> 
  <form name=clock>
  <input type=text name=showTime size=8 class=input>
  </form>
</center>
</body>
</html>
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Appraise.net

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back