Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/10/2004, 10:21
ramiro_olvera
 
Fecha de Ingreso: abril-2004
Mensajes: 84
Antigüedad: 20 años
Puntos: 0
Prueba con esto:

<html>
<head>
<title>Untitled Document</title>
<script language="JavaScript1.2">
<!--

// Maximizar Ventana por Nick Lowe ([email protected])
function maximiza(){
window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.avail Height);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.wi ndow.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}

}//End function
//-->
</script>
</head>
<body>
<button onclick=maximiza()>Maximizar</button>
</body>
</html>

Al oprimir el boton la ventana se maximiza. Si deseas que la vntana se maximize al entrar , pon <body onload=maximiza()>
Lo probe en windows Xp con Iexplorer 6
y funciono perfectamente.