Io ho scritto al volo questo codice che fa illuminare la cella per 3 volte al caricamento del documento:
codice:
<script language="JavaScript" type="text/javascript">
var i = 0;
function blinkCell() {
var cell = document.getElementById('blink');
if (i < 4) {
if (cell.style.backgroundColor == 'red') {
cell.style.backgroundColor = 'white';
i++;
} else {
cell.style.backgroundColor = 'red';
}
}
}
var interval = setInterval('blinkCell()',500);
</script>
</head>
<body onload="blinkCell()">
<table width="200" border="1">
<tr>
<td width="100"></td>
<td width="100" id="blink">lorem ipsum dolor sit amet ..</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</table>
Sta a te poi eseguire la funzione solo quando cambia il contenuto.
Ciao.