Ver Mensaje Individual
  #3 (permalink)  
Antiguo 11/03/2003, 11:56
Avatar de CORE
CORE
Usuario no validado
 
Fecha de Ingreso: abril-2002
Ubicación: Merida
Mensajes: 2.165
Antigüedad: 22 años, 1 mes
Puntos: 3
Hola

Me encontre esto entre mis curiosidades
= y sobra un poco de Codigo solo es cosa de retocarlo


Código:
<SCRIPT>

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

function abrete() {
	ww=screen.width/8;  wh=screen.height/9;
	positionCode='';
	if(v>=4) {
		sw  = 40;           sh  = 40;
		
		wbx = Math.round((sw-ww)/2);  wby = Math.round((sh-wh)/2);
		if(isExplorer) positionCode='left='+wbx+',top='+wby+',';
		if(isNetscape) positionCode='screenX='+wbx+',screenY='+wby+',';

	}
	newWindow1=window.open('1.htm','1','fullscreen=yes','width='+ww+',height='+wh+','+positionCode+'toolbar=0,'+'scrollbars=0,'+'resizable=0');
	newWindow1=window.open('2.htm','2','fullscreen=yes','width='+ww+',height='+wh+','+positionCode+'toolbar=0,'+'scrollbars=0,'+'resizable=0');
	newWindow1=window.open('3.htm','3','fullscreen=yes','width='+ww+',height='+wh+','+positionCode+'toolbar=0,'+'scrollbars=0,'+'resizable=0');
	if(isNetscape && v>=3) newWindow.focus();
}
</SCRIPT>
saludos