Hello,

j'ai un petit soucis sous IE pour ouvrir une page avec la fonction window.open (tout fonctionne bien sous les autres navigateurs)

Voici mon code JS :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
function OpenPopup(target_url, win_name, width, height) {
        var new_win = window.open(target_url+'&ajax=1', win_name, 'scrollbars=yes,statusbar=no,toolbar=no,location=no,directories=no,resizable=no,menubar=no,width='+width+',height='+height+',screenX='+((screen.width-width) / 2)+",screenY="+((screen.height-height) / 2)+",top="+((screen.height-height) / 2)+",left="+((screen.width-width) / 2));
        new_win.focus();
}
il me dit " Argument non valide. " pour la déclaration de variable.
Vu que je ne suis pas un as en JS, je ne capte pas grand chose :-\