bonjour,
vous m'en voyez désolé , mais je n'aime pas les "frames" , et pourtant , je vis en concubinage avec une "iframe" !
si tu tiens absolument à tes frames , rectifies le script.
bonne continuation.
Leris.

...............
<HTML>
<HEAD>
<TITLE>swapimg</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<SCRIPT language=javascript>
<!--
function SwapImg(idx, img)
{
document.images[idx].src = img;
}
//-->
</SCRIPT>
<style type=text/css rel=stylesheet>
.mano {
cursor: hand; margin: 5px;
}
</style>
</HEAD>
<BODY style="text-align: center">
<hr color=blue size="1" width="500">
<DIV><img src="photos/01.jpg" width=480 height=320 border=1 name=img></DIV>
<br>
<div>
<a class=mano onClick="SwapImg(0, 'photos/01.jpg')"><img src="thumbs02/01.jpg" width="60" height="40" border="1"></a>
<a class=mano onClick="SwapImg(0, 'photos/02.jpg')"><img src="thumbs02/02.jpg" width="60" height="40" border="1"></a>
<a class=mano onClick="SwapImg(0, 'photos/03.jpg')"><img src="thumbs02/03.jpg" width="60" height="40" border="1"></a>
<a class=mano onClick="SwapImg(0, 'photos/04.jpg')"><img src="thumbs02/04.jpg" width="60" height="40" border="1"></a>
<a class=mano onClick="SwapImg(0, 'photos/05.jpg')"><img src="thumbs02/05.jpg" width="60" height="40" border="1"></a>
<br>
<a class=mano onClick="SwapImg(0, 'photos/06.jpg')"><img src="thumbs02/06.jpg" width="60" height="40" border="1"></a>
<a class=mano onClick="SwapImg(0, 'photos/07.jpg')"><img src="thumbs02/07.jpg" width="60" height="40" border="1"></a>
<a class=mano onClick="SwapImg(0, 'photos/08.jpg')"><img src="thumbs02/08.jpg" width="60" height="40" border="1"></a>
<a class=mano onClick="SwapImg(0, 'photos/09.jpg')"><img src="thumbs02/09.jpg" width="60" height="40" border="1"></a>
<a class=mano onClick="SwapImg(0, 'photos/10.jpg')"><img src="thumbs02/10.jpg" width="60" height="40" border="1"></a>
</div>
<hr color=blue size="1" width="500">
<br>
<div>Ce qu'il faut savoir :<br>
<br>
le script change la 1ere image qu'il trouve dans la page = [0]<br>
si vous avez une banniere ou quelqu'image que ce soit placée avant ,
<br>
vous devez definir la position de l'image (exemple : si 2 images avant = [2]
) <br>
à modifier dans le script et dans les liens. <br>
<br>
Dans cet exemle , les miniatures sont dans le sous-dossier "thumbs02".<br>
les photos sont dans le sous-dossier "photos" <br>
<hr color=blue size="1" width="500">
</div>
</BODY></HTML>
........................
bluejayway(codes et scripts pour webmasters debutants)