Ver Mensaje Individual
  #3 (permalink)  
Antiguo 07/01/2003, 22:49
Avatar de CORE
CORE
Usuario no validado
 
Fecha de Ingreso: abril-2002
Ubicación: Merida
Mensajes: 2.165
Antigüedad: 22 años, 11 meses
Puntos: 3
Código PHP:
<SCRIPT>

var 
v=parseInt(navigator.appVersion);
isNetscape=navigator.appName.indexOf('Netscape')>=0;
isExplorer=navigator.appName.indexOf('Explorer')>=0;
if(
v>=3self.focus();

function 
popupWindow() {
    
ww=screen.width/4;  wh=screen.height/3;
    
positionCode='';
    if(
v>=4) {

//        sw  = screen.width;           sh  = screen.height;
        
sw  10;           sh  10;
        
        
wbx Math.round((sw-ww)/10);  wby Math.round((sh-wh)/10);
        if(
isExplorerpositionCode='left='+wbx+',top='+wby+',';
        if(
isNetscapepositionCode='screenX='+wbx+',screenY='+wby+',';

    }

    
newWindow1=window.open('1.htm','1','width='+ww+',height='+wh+','+positionCode+'toolbar=0,'+'scrollbars=0,'+'resizable=1');
    
newWindow2=window.open('2.htm','2','width='+ww+',height='+wh+','+positionCode+'toolbar=0,'+'scrollbars=0,'+'resizable=1');
    
newWindow3=window.open('3.htm','3','width='+ww+',height='+wh+','+positionCode+'toolbar=0,'+'scrollbars=0,'+'resizable=1');
    
newWindow4=window.open('4.htm','4','width='+ww+',height='+wh+','+positionCode+'toolbar=0,'+'scrollbars=0,'+'resizable=1');

    if(
isNetscape && v>=3newWindow.focus();
}


</SCRIPT> 

Algo asi te sirve???