Orlando: Zellenhintergrund bei MouseOver ändern

Beitrag lesen

Hi Jörg,

es heißt backgroundColor mit großem "C".

td.style.backgroundcolor="#2258EE";

^

td.style.backgroundcolor="#33FF33";

^

Korrekt ist daher:

function a()
{
 var td = document.getElementById("eins");
 td.style.backgroundColor="#2258EE";
}

function b()
{
 var td = document.getElementById("eins");
 td.style.backgroundColor="#33FF33";
}

LG Orlando

--
SELF-TREFFEN 2002
http://www.rtbg.de/selftreffen/
http://www.megpalffy.org/temp/penneninhh.html