Tema: objeto
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/07/2007, 07:47
miguelcubas
 
Fecha de Ingreso: marzo-2007
Mensajes: 135
Antigüedad: 17 años, 1 mes
Puntos: 0
Pregunta Re: objeto

... le falta un corchete , pero ese no es el problema, sigue sin
cambiar la propiedad display ...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>D</title>

<script type="text/javascript">

var displayobj={


display:function (ide) {

document.getElementById(ide).style.display = 'none';
}
}

displayobj.display("f");
</script>

</head>

<body>


<div id="f" class="drag"></div>


</body>
</html>