Ver Mensaje Individual
  #1 (permalink)  
Antiguo 08/03/2012, 11:01
soling28
 
Fecha de Ingreso: marzo-2012
Mensajes: 1
Antigüedad: 12 años, 1 mes
Puntos: 0
onmouseover con DHTML

Hola estoy intentando obtener una referencia para este ejemplo.

function cambiarFondo()
{
var lista1=document.getElemetById("lista");
var lista2=lista1.getElementsByTagName('li');
for(f=0;f<lista2.length;f++)
{
lista2[f].childNodes[0].style.color='#000099';
}
}

y me gustaria saber que tengo mal en el código.