»
EnglishFrenchVietnamese

Print - Silly fat button clock - JavaScriptBank.com

Full version: jsB@nk » Time » Clock » Silly fat button clock
URL: https://www.javascriptbank.com/silly-fat-button-clock.html

Silly fat button clock © JavaScriptBank.comThis is probably the most silly fat button clock you have ever seen. And I don't know why you should use it.

Full version: jsB@nk » Time » Clock » Silly fat button clock
URL: https://www.javascriptbank.com/silly-fat-button-clock.html



JavaScript
<SCRIPT language=javaScript><!-- Beginning of JavaScript -var hours;var minutes;var seconds;function showtime() {var thistime= new Date();hours=thistime.getHours();localhours=thistime.getHours();minutes=thistime.getMinutes();seconds=thistime.getSeconds();if (eval(minutes) < 10) {minutes="0"+minutes}if (eval(seconds) < 10) {seconds="0"+seconds}if (eval(hours) < 10) {hours="0"+localhours}thistime = hours+":"+minutes+":"+seconds    document.bigwatch.button.value=thistime;    var timer= setTimeout("showtime()",1000);}// - End of JavaScript - --></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<FORM name=bigwatch><INPUT name=button onclick=showtime() style="COLOR: red; FONT-FAMILY: times; FONT-SIZE: 70pt" type=button value=CLICK> </FORM><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->