Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/03/2005, 19:44
Avatar de isaacluz
isaacluz
 
Fecha de Ingreso: marzo-2005
Mensajes: 180
Antigüedad: 19 años, 2 meses
Puntos: 0
Prueba este...

<script>
var isNN,isIE;
if (parseInt(navigator.appVersion.charAt(0))>=4){
isNN=(navigator.appName=="Netscape")?1:0;
isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
function Resize(){
if (isIE){
window.resizeTo(100,100);
width=100-(document.body.clientWidth-document.width);
height=100-(document.body.clientHeight-document.height);
window.resizeTo(width,height);
window.moveTo((screen.width-width)/2,(screen.height-height)/2);}
if (isNN){
window.moveTo((screen.width-(document.width))/2,(screen.height-(document.height))/2)
window.innerWidth=document.width;
window.innerHeight=document.height;}
}
</script>
</head><body bgcolor=000000 scroll="auto" onload="Resize();self.focus()" onblur="self.close()">