Et cette petite modifciation ca marche avec plusieurs images:
function
ZoomImgId(sizeX,sizeY,imageID) //Fonction particulière qui traite le zoom de ingId
{
myImage = new Bild
(imageID); //Création d'un objet myImage de type Bild (image)
myZoom = new Zoom(sizeX,sizeY); //Création d'un objet myZoom de type Zoom
myImage.Zoom = myZoom; //Instanciation de l'attribut Zoom de l'objet myImage
myImage.DoZoom(); //Utilisation de la méthode DoZoom sur l'objet myImage
}
On peut donc ensuite:
<img id="imgId" src="images/top.gif" height="100" width="100" onMouseover="ZoomImgId(500,500,'imgId');" onMouseout="ZoomImgId(100,100,'imgId');">
<br>
<img id="imgId2" src="images/top.gif" height="100" width="100" onMouseover="ZoomImgId(500,500,'imgId2');" onMouseout="ZoomImgId(100,100,'imgId2');">

Signé: Egalon qui comprend difficilement