Je ne trouve pas la raison de l'erreur j'ai essayer plusieurs varitantes.
//Le code Javascript
Existe-t-il un bon moyen de débogger du Javascript car IE ne donne pas grand informations.Code:
1
2
3
4
5
6
7 function openImgWindow(theURLtoOpen, theWidth, theHeight) { windowName=''; windowFeatures='width='+theWidth+'height='+theHeight'top=50,left=150,toolbar=no,scrollbars=no,resizable=no,location=no,directories=no,status=no,menubar=no'; newWindow=window.open(theURLtoOpen, windowName, windowFeatures); newWindow.focus(); }
//Le HTML
Code:
1
2 <a href="#" onclick="openImgWindow('images/bios_00.jpg', 475, 39)"><img src="images/bios_00.jpg" border="0" width="475" height="39" /></a>