Intermini di impegno del client e di dati trasmessi, secondo voi conviene usare questo script
o scrivere (tramite php) l'onmousehover\onmouseout riga per riga?Codice PHP:
var rows = document.getElementsByTagName('tr');
for (var i = 0; i < rows.length; i++) {
rows[i].onmouseover = function() {
this.className += 'righello';
}
rows[i].onmouseout = function() {
this.className = this.className.replace('righello', '');
}
}