Ahora tengo otro problemilla, en mi web tengo hecha una funcioncilla que cambia el color de fondo y del texto a la vez cuando paso el cursor por encima, pues bien, el W3C me dice que la llamada a la funcion esta mal...
Cita:
an attribute value must be a literal unless it contains only name characters
…mision.html" onMouseOver=CambiaColor(this,"white","Orange")
onMouseOut=Cambia✉
You have used a character that is not considered a "name character" in an attribute value. Which characters are considered "name characters" varies between the different document types, but a good rule of thumb is that unless the value contains only lower or upper case letters in the range a-z you must put quotation marks around the value. In fact, unless you have extreme file size requirements it is a very very good idea to always put quote marks around your attribute values. It is never wrong to do so, and very often it is absolutely necessary.
El error me lo da en el parentesis en el que estan encerrados los parametros de llamada.an attribute value must be a literal unless it contains only name characters
…mision.html" onMouseOver=CambiaColor(this,"white","Orange")
onMouseOut=Cambia✉
You have used a character that is not considered a "name character" in an attribute value. Which characters are considered "name characters" varies between the different document types, but a good rule of thumb is that unless the value contains only lower or upper case letters in the range a-z you must put quotation marks around the value. In fact, unless you have extreme file size requirements it is a very very good idea to always put quote marks around your attribute values. It is never wrong to do so, and very often it is absolutely necessary.
Si no me equivoco (que probablemente si por que mi ingles es muy malo) me viene a decir que no he usado un nombre de caracter, y poco mas adelante que lo meta entre comillas, cosa imposible, por que si no la funcion no hace nada.
Alguna idea al respecto?
Muchisimas gracias.