Ver Mensaje Individual
  #6 (permalink)  
Antiguo 01/04/2002, 13:11
Avatar de Wakkos
Wakkos
Colaborador
 
Fecha de Ingreso: octubre-2001
Ubicación: (cerca)
Mensajes: 1.795
Antigüedad: 22 años, 6 meses
Puntos: 59
Re: Necesito Precarga y luego Mostrar

Tenemos que declarar la capa a mostrar:
Código:
#tope {
	position:absolute;
	color: Black;
	BACKGROUND-COLOR: #F4F4D9;
	left:0px;
	top:0px;
	width:100%;
	height:100%;
	z-index:10000;
	visibility:visible;
	text-align : center;
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size : smaller;
	font-style : italic;
}
Luego hacemos el script:
Código:
  function WakkosPreload()
{
document.getElementById('tope').style.visibility = 'hidden';

}
Esta función oculta el layer cuando la página se carga (ONLOAD="WakkosPreload()) y lo declaramos en el body:
Código:
<BODY ONLOAD="WakkosPreload();">
Y luego colocamos nuestra capa 'provisional' y lo que queremos que diga:

Código:
<div id="tope">

	"Billions and Billions"
</div>