bonjour
j'ai suivi le tuto sur le msdn de microsoft
http://www.microsoft.com/france/msdn...etres-dev.mspx
avec ce code le alert du catch ne s'affiche pas:
une idée, un conseil?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 SCRIPT LANGUAGE="JScript"> function OpenCenterPopUp(){ var Left=window.screen.width/2-175; var Top=window.screen.height/2-175; var Configuration="'toolbar=no, menubar=no, location=no, directories=no, status=no, resizeable=no, width=350, height=350, left=" + Left + ", top=" + Top; try { window.open('envoi_ami.php','Envoyer à un ami',Configuration); } catch(e) { window.alert("Bloqueur de popup"); } } </SCRIPT>
merci
Partager