Foros del Web » Programando para Internet » Javascript »

problemas onmouseover onmouseout

Estas en el tema de problemas onmouseover onmouseout en el foro de Javascript en Foros del Web. por que no funciona perfectamente este codigoi Código PHP: <! DOCTYPE HTML  PUBLIC  "-//W3C//DTD HTML 4.01 Transitional//EN" > < html > < head > < title > Untitled Document </ ...
  #1 (permalink)  
Antiguo 27/06/2005, 09:10
 
Fecha de Ingreso: noviembre-2004
Mensajes: 42
Antigüedad: 19 años, 5 meses
Puntos: 0
problemas onmouseover onmouseout

por que no funciona perfectamente este codigoi
Código PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<
html>
<
head>
<
title>Untitled Document</title>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<
script language="JavaScript" type="text/JavaScript">
<!--
function 
MM_reloadPage(init) {  //reloads the window if Nav4 resized
  
if (init==truewith (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    
document.MM_pgW=innerWidthdocument.MM_pgH=innerHeightonresize=MM_reloadPage; }}
  else if (
innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgHlocation.reload();
}
MM_reloadPage(true);
//-->

function entrar(e){
window.alert("entrar")
}
function 
salir(e){
window.alert("salir")
}
</script>
</head>

<body>
<table width="57%" border="1">
  <tr>
    <td  onMouseOver="entrar()" onMouseOut="salir()"><table width="75%" border="1" >
        <tr> 
          <td >&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html> 
y en cambio si se coloca en una celda que no contiene sino solo un testo hay si funciona
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 13:46.