Zelle mit mouseover highlight'en

Hallo,
ich habe mir eine Funktion in JS geschrieben, die mir eine Tabellenzelle farbig highlight’en soll.
Diese Funktion funtzt auch schon ganz gut. Nur wenn ich mir das ganze dann mal z.b. mit Mozilla anschau dann klappts net.
Was muss ich an der Funktion umschreiben damit das auch mit Mozilla geht?

Hier meine Funktion:

function uehover (xref, inout, zelle, vpcolor){
 parent.kopfdaten.hover(xref, inout);
 if(inout == "in"){
 if(vpcolor == "#FFFF80") hovercol = "#FF8080";
 else hovercol = "#FFFF80";
 zelle.style.backgroundColor = hovercol;
 }
 else {
 zelle.style.backgroundColor = vpcolor;
 }
 //document.all['name'+xref+lfdnr]
}

Danke schonmal und grüße Oli

Hallo Oli

Versuch es doch mal so (oder ähnlich):

Tabellenfarbe ändern
function changeColor(color) {
document.getElementById(„Tabelle“).style.backgroundColor = color;
}
Text

Du kannst natürlich auch die Farben in der Function fest angeben.

CU Fr@nkie

The Truth Is Out There … ;o)