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