Sarà un problema di document.write poiche lo script sotto funziona
codice:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<script language="JavaScript" type="text/javascript">
<!--
function fine() {
document.getElementById('mdiv').innerHTML += "
Finito!";
}
function messaggio() {
document.getElementById('mdiv').innerHTML = "Partito!";
window.setTimeout('fine()', 1500);
}
//-->
</script>
</head>
<body onLoad="messaggio();">
<div id="mdiv"></div>
</body>
</html>