Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/01/2013, 02:45
chipter
 
Fecha de Ingreso: diciembre-2009
Mensajes: 23
Antigüedad: 14 años, 5 meses
Puntos: 0
Problema con Firefos y javascrip

Lo que pasa es que tengo este scrip
Código:
<html>

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>Sin título 1</title>
 <script > 
   function toggl(targetId){ 
    targe=document.all[targetId]; 
    if (targe.style.display == ""){ 
     targe.style.display = "none"; 
    } else { 
     targe.style.display = ""; 
    } 
   } 
  </script> 

</head>

<body>

<a href="javascript:toggl('cuenta')">
at</a>

<div id="cuenta" style=" display:none; position: absolute; width: 100px; height: 100px; z-index: 1">
kpowkpdq
</div>

</body>

</html>
y en IE y GC me funciona perfeto pero en firefox no, no se si alguien me pueda ayudar, de ante mano muchas gracias