Scusate perchè questo funziona solo su IE ?
codice:
<script language='JavaScript'>
function show5(){
if (!document.layers&&!document.all)
return
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
var seconds=Digital.getSeconds()
if (minutes<=9)
minutes='0'+minutes
if (seconds<=9)
seconds='0'+seconds
myclock=hours+":"+minutes+":"+seconds
if (document.layers){
document.layers.liveclock.document.write(myclock)
document.layers.liveclock.document.close()
}
else if (document.all)
liveclock.innerHTML=myclock
setTimeout("show5()",1000)
}
</script>