Grazie Andrea.
Ho sostituito e con Chrome si visualizza correttamente.
Ora resta il mistero dell'invisibilità con MS IE e Mozzilla FFox.
Ecco come richiesto il HTML.
codice:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>SIGMA BETA</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<link type="text/css" rel="Stylesheet" href="../css/Layout.css" />
<script type="text/javascript">
function init ( ){
timeDisplay = document.createTextNode ( "" );
document.getElementById("clock2").appendChild ( timeDisplay );
}
function updateClock2 ( ){
var currentTime = new Date();
la funzione continua come nel mio precedente comunicato e poi finisce head:
codice:
var currentTimeString = currentYear + "." + currentMonth + "." + currentDay + " - " + currentHours + ":" + currentMinutes + ":" + currentSeconds
document.getElementById("clock2").firstChild.nodeValue = currentTimeString;
}
// -->
</script>
</head>
Inizia quindi il body
codice:
<body onload="updateClock2(); setInterval('updateClock2()', 1000 )">
<div style="width: 20em; text-align: center; margin: 20px auto;">
<span id="clock2"></span>
</body>
</html>
Ripeto:
_in local host o direttamente su pc l'orologio si visualizza.
_caricato su Aruba né IE né FFox lo visualizzano:solo Chrome.