Ver Mensaje Individual
  #2 (permalink)  
Antiguo 11/10/2012, 12:45
BaSingSe
 
Fecha de Ingreso: mayo-2012
Mensajes: 117
Antigüedad: 12 años
Puntos: 1
Respuesta: Me gustaria saber el script de este efecto

asi es que lo tengo no se en que estoy fallando...

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
<style>
body{ margin:0px;}
#header{ background-color:#000000; height:250px; width:auto;}
#oculto{ background-color:#FF9999; height:350px; width:auto; display:none;}
.aparece{display:inherit;}
#header2{background-color:#CC3300; height:150px; width:auto;}

</style>
<script>
function aparecer(){
var element = document.getElementById("oculto");
elemento.className = "aparece";

}
</script>
</head>

<body>
<div id="header"></div>
<div id="oculto"></div>
<div id="header2"></div>
<div id="body">
<div id="info"><a href="#" onclick="aparecer();">informacion</a></div>
</div>
</body>