Código:
mientras que en explorer 6 y/o 7 siempre marcaba un error pero funcionaba igual, en firefox funciona de maravillas.<script type="text/javascript" language="javascript"> document.getElementById("Layer1").style.top = (document.body.offsetHeight/2) - (180/2) + "px"; function hideBanner() { document.getElementById("Layer1").style.display = 'none'; return false; } </script> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); //--> </script>
Gracias