El codigo es
Código:
y el DIV es<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>
Código HTML:
<div id="Layer1" style="margin-bottom:4px; margin-left:6px;"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="460" height="180"> <param name="movie" value="banner.swf"> <param name="quality" value="high"> <embed src="banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="460" height="180"></embed></object> </div>
SE REQUIERE UN OBJETO me tiene loco.
Hay algo mal en el codigo?
Gracias, saludos

