in ESEMPIO.HTM
codice:
<table>
<tr>
<td id="orologio">
</td>
</tr></table>
in LIVECLOCK.JS, le ultime righe rendile così:
codice:
// Write the clock to the layer:
if (ns4) {
clockpos = document.ClockPosNS;
liveclock = clockpos.document.LiveClockNS;
document.getElementById("orologio").innerHTML = myclock;
liveclock.document.close();
} else if (ie4) {
document.getElementById("orologio").innerHTML = myclock;
} else if (ns6){
document.getElementById("orologio").innerHTML = myclock;
}
if (myupdate != 0) { setTimeout("show_clock()",ClockUpdate[myupdate]); }
}