Saludos... Estoy usando un script para generar tooltips. Este script es del modo siguiente:
Cita: <a class="style1" href="javascript:void(0);" onmouseover="this.T_WIDTH=400;this.T_TITLE='Toolst ip Ejemplo'; this.T_TITLECOLOR='#FFFFFF'; this.T_TEXTALIGN='justify'; this.T_OPACITY=90; this.T_FONTSIZE='11'; return escape(Ejemplo del texto dentro del tooltip.<br/><strong>Definición del tooltip: </strong> Contexto emergente de ayuda al usuario en interfaces WEB.');">TOOLTIPS</a>
Si notáis, he coloreado en "rojo" el caracter "problema" en el momento de validar mi página en W3C. Me genera el siguiente error:
Cita: Warning Line 327 column 579: character "<" is the first character of a delimiter but occurred as data.
Las soluciones que me propone el W3C son:
Cita: You tried to include the "<" character in your page: you should escape it as "<"
Y yo no quiero incluín "<" como parte de mi pùagina, sólo pretendo crear una
nueva línea [ENTER] después de la última línea.
Cita: You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
Evidentemente no estoy usando el "unnperson" (&).
Cita: Another possibility is that you forgot to close quotes in a previous tag.
Todas las tags anteriores están cerradas.
Mi pregunta es:
¿Hay alguna manera de reemplazar el "<" por otro caracter en un tooltips de javascript?
Gracias por vuestra ayuda.
Saludos...