Des images ne passent pas sur un diaporama

Fermé
gilden62 - 29 nov. 2010 à 16:05
Bonjour,
J'affiche un diaporama sur un site web . Le diaporama tourne, mais certaines images ne passent pas . Elles ont portant toutes le même nom : diapositive+numero, sans espace ni tccent ; toutes en minuscule. Elles sont bien toutes présentes sur le site dans le même fichier image.
J'avoue que je n'arrive pas à comprendre. Quelqu'un a-t-il deja rencontre ce probleme et pourrait me dire ce qui cloche, et ce que je pourrais faire.
Voici le programme utilise :

<SCRIPT>

thisImg = 1
imgCt = 71

function newSlide(direction) {

if (document.images) {
thisImg = thisImg + direction
if (thisImg < 1) {
thisImg = imgCt
}
if (thisImg > imgCt) {
thisImg=1
}
document.slider.src = "patrimoine_2010/images/diapositive" + thisImg + ".jpg"
}
}
</SCRIPT>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<div style="margin-left:200px">
<P align="center"><FONT SIZE="+2" FACE="Helvetica, Arial, sans serif"><STRONG>Journées du patrimoine 2010 : 71 images</FONT></P>
<a href="entree.html">Quitter</a>

<TABLE BORDER=0 BGCOLOR="#FFFFFF" CELLSPACING=0 CELLPADDING=0>
<TR>
<TD WIDTH=700 HEIGHT=500>
<P><A HREF="javascript:newSlide(-1)"><IMG SRC="patrimoine/bouton_arriere.gif" WIDTH=20 HEIGHT=20 ALIGN=bottom></A>
<IMG SRC="patrimoine_2010/images/diapositive1.jpg" WIDTH=640 HEIGHT=480 BORDER=0 ALIGN=middle name=slider>
<A HREF="javascript:newSlide(1)"><IMG SRC="patrimoine/bouton_suivante.gif" WIDTH=20 HEIGHT=20 ALIGN=bottom></A></P>
</TD>
</TR>
</TABLE>