
11/09/2007, 14:02
|
| | Fecha de Ingreso: abril-2007
Mensajes: 137
Antigüedad: 17 años, 11 meses Puntos: 2 | |
Pop Up En Firefox Si En Ie No, ¿por QuÉ? hola, me estoy volviendo loco!!!!
En firefox si salta el pop up pero en ie no, ¿Qué esta mal?
en head:
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor (Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.rand om()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.wi dth-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status =yes,menubar=no,toolbar=yes,resizable=yes";win=win dow.open(mypage,myname,settings);
win.focus();}
// -->
</script> en body:
<body onLoad="NewWindow('http://www.forotrabajo.es/xxxx.html','popup','640','480','fullscreen','front ');">
Gracias a todos
Se me olvidaba, la versión de IE es la 7
Última edición por jorgejgm; 11/09/2007 a las 14:08
Razón: Más info
|