Re: Pb De Détection de popup
Envoi de IS ME - ID012254 le 17 Novembre 2004 11:45:28:
Réponse à: Pb De Détection de popup envoi de IS ME - ID012254 - le 17 Novembre 2004 11:44:05:
un petit probléme désolé voila le code en entier:
//Ouvrir une fenêtre var popTest = window.open("", "myfene", "width=15, height=50");
//déclarer une fonction vérif
function verif(){ if (popTest.closed==false){
if (navigator.appVersion.indexOf("Win")!= -1){ top.window.open("index2.htm","","width=700px,height=730px,resizable=0,scrollbars=0"); }
if (navigator.appVersion.indexOf("Mac")!= -1){ top.window.open("index2.htm","","width=690px,height=670px,resizable=0,scrollbars=0"); }}
if (popTest.closed==true){
window.location="index2.htm";
}
popTest.close();
}
setTimeout("verif()", 450);
Réponses:
Répondre
|

|