Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/07/2002, 17:58
beth
 
Fecha de Ingreso: enero-2002
Mensajes: 44
Antigüedad: 22 años, 3 meses
Puntos: 0
donde está el error?

El menú me da error de tiempo de ejecucion como lo soluciono????
el codigo es este
Código:
 <script>
function mOvr(src,clrOver) {
if (!src.contains(event.fromElement)) {
src.style.cursor = 'hand';
src.bgColor = clrOver;
}
}
function mOut(src,clrIn) {
if (!src.contains(event.toElement)) {
src.style.cursor = 'default';
src.bgColor = clrIn;
}
}
function mClk(src) {
if(event.srcElement.tagName=='TD'){
src.children.tags('A')[0].click();
}
}
</script>
y luego en el body
Código:
 <td onclick="mClk(this);" onmouseout="mOut(this,'#383438');" onmouseover="mOvr(this,'#6C6C6C');" vAlign="center" width="135" style="border-bottom: 1px solid rgb(0,0,0); padding-left: 6; padding-top: 1; padding-bottom: 1" bgcolor="#383438" height="18"><font face="Verdana" size="1"><a style="color: rgb(255,255,255); text-decoration: none" href="pagina.htm">titulo de la pagina</a></font></td>
me aparece un alerta
Error linea 18 'children.tags (...)0'es nulo o no es un objeto

como lo soluciono???? <img src='images/tongue.gif' width=15 height=15 align=middle>
gracias