Bonjour à tous, j'ai une fonction qui ouvre un pop up centré:
Qui fonctionne très bien sous FF 3, mais sous IE j'ai une erreur argument invalide au niveau du window.open ...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 function importQuestions() { var w=500; var h=600; var haut=(screen.height-h)/2; var Gauche=(screen.width-w)/2; var w=window.open('popupImportQuestions.php?id='+tpid,"Import Questions","toolbar=0,menubar=0,location=0,scrollbars=1,top="+haut+",left="+Gauche+",width="+w+",height="+h+",resizable=1"); }
Auriez vous une idée ?
Partager