Начало
Часы
Статус
JavaScript Clocks: Статус
<!-- TWO STEPS TO INSTALL STATUS CLOCK: 1. Paste the first code into the HEAD of your HTML document 2. Put the onLoad event handlers to the BODY tag --> <!-- STEP ONE: Put this code into the HEAD of your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <! > <! > <!-- Begin function runClock() { theTime = window.setTimeout("runClock()", 1000); var today = new Date(); var display= today.toLocaleString(); status=display; } // End --> </SCRIPT> <!-- STEP TWO: Put this code onLoad event handler in the BODY tag --> <body onLoad="runClock()"> <!-- Script Size: 0.81 KB -->