21/11/2003, 17:17
|
| Colaborador | | Fecha de Ingreso: octubre-2003
Mensajes: 3.547
Antigüedad: 21 años, 3 meses Puntos: 80 | |
Hola muchachos.....
Lo que yo hago no es recomendable para el usuario pero resuelve el problema del programador en cuanto a visualiacion, es asi:
<script language="javascript">
function resolucion(){
if (window.screen){
var w = screen.width;
if(document.all){
if(w >= 740 && w < 835){
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;
}
}
}
if(w >= 835){
window.resizeTo(800,600);
}
}
}
}
<body resizable="no" Onload="resolucion()" Onresize="window.resizeTo(800,600)">
Esto te reduce la ventana del navegador, es una solucion que hice con una web, espero te sirva. |