Ver Mensaje Individual
  #7 (permalink)  
Antiguo 21/04/2009, 14:39
Slayer_sephiroth
 
Fecha de Ingreso: enero-2008
Mensajes: 111
Antigüedad: 17 años, 1 mes
Puntos: 0
Respuesta: Aparecer capa

Yo me he puesto a intentarlo y cuando le doy al boton me sale directamente,os paso el codigo y a ver si veis algun error y biperina se puede fijar.Un saludo

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
<style type="text/css">
<!--
#capa {
position:absolute;
width:632px;
height:115px;
z-index:1;
visibility: hidden;
}
.Estilo1 {font-size: 36px}
-->
</style>
</head>
<script type="text/javascript">
function hola(){
setTimeout(document.getElementById("capa").style.v isibility="visible",5000);
}
</script>
<body>
<div class="Estilo1" id="capa">HOLAAAAAA</div>
<label> <br>
<br>
<br>
<input type="button" name="Submit" value="Bot&oacute;n" onClick="hola();">
</label></body>
</html>