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