Ver Mensaje Individual
  #6 (permalink)  
Antiguo 02/06/2006, 13:45
Avatar de chalchis
chalchis
 
Fecha de Ingreso: julio-2003
Mensajes: 1.773
Antigüedad: 21 años, 7 meses
Puntos: 21
yo utilizo esto checalo en opera no jala solo en ie y firefox

<html>
<head>
<title>Documento sin t&iacute;tulo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
function hideLoading()
{
document.getElementById('pageIsLoading').style.dis play = 'none'; // DOM3 (IE5, NS6) only
}
</script>
</head>

<body>
<div id="pageIsLoading" style="border-right: #890000 1px solid; padding-right: 12px; background-position: 6px center; border-top: #890000 1px solid; display: block; padding-left: 44px; font-weight: bold; background-image: url(espere.gif); border-left: #890000 1px solid; width: auto; color: #000000; line-hight: 46px; border-bottom: #890000 1px solid; background-repeat: no-repeat; position: absolute; height: 46px; background-color: #e5e5e5">
<script type="text/javascript">
if (typeof window_width == 'undefined' || typeof window_height == 'undefined') {
var window_width;
var window_height;
if( typeof( window.innerWidth ) == 'number' ) {
window_width = window.innerWidth;
window_height = window.innerHeight;
} else if( document.documentElement &&
( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
window_width = document.documentElement.clientWidth;
window_height = document.documentElement.clientHeight;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
window_width = document.body.clientWidth;
window_height = document.body.clientHeight;
}
}
var left = Math.round((window_width - 300) / 2);
var top = Math.round(((window_height - 46) / 3) + 46);
document.getElementById('pageIsLoading').style.lef t = left+'px';
document.getElementById('pageIsLoading').style.top = top+'px';
</script>
Cargando... Espere, por favor...
</div>
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
.
.
.
.
.
.
contenido de la pagina
.
.
.
.
.
.
<script type="text/javascript">
if (window.addEventListener) {
window.addEventListener('load', hideLoading, false);
} else if (window.attachEvent) {
var r = window.attachEvent("onload", hideLoading);
} else {
hideLoading();
}
</script>
</body>
</html>


saludos
__________________
gerardo