Hi,
function ChangeToBlue(IdName)
{
n++;
r = 0;
g = 256 - n * 8;
b = n * 8;
document.all[IdName].style.color = eval("rgb(" + unescape(r) + ", " + unescape(g) + ", " + unescape(b) + ")");
}
versuchs doch eher mal so:
document.all[IdName].style.setAttribute("color","rgb(" + r + "," + g + "," + b + ")","false");
mfg
CK1
<img src="http://wwwtech.de/images/banner.jpg" alt="">
http://wwwtech.de/moorhuhn/