+
1
|
list
|
skin
|
login
|
editor
α-wwwiki
::
chrono
user:none
(929 bytes)
_h1 chrono {div {@ id="output" style="font:bold 2em courier; color:red;"}time : } {input {@ type="submit" value="start" onclick="°° document.chrono = window.setInterval( function () { getId('output').innerHTML = 'time : ' + alpha.doLoop('{date}'); }, 1000 ); °°"}} {input {@ type="submit" value="stop" onclick=" window.clearInterval( document.chrono );"}} _h4 code {pre °° // 1) time output {div {@ id="output" style="font:bold 2em courier; color:red;"}time : } // 2) start chrono {input {@ type="submit" value="start" onclick="•• document.chrono = window.setInterval( function () { getId('output').innerHTML = 'time : ' + alpha.doLoop('{date}'); // getId('output').style.MozTransform = 'rotate(-20deg)'; }, 1000 ); ••"}} // 3) stop chrono {input {@ type="submit" value="stop" onclick="window.clearInterval( document.chrono );"}} °°}