SLIDE SHOW

meliubaf Messages postés 22 Date d'inscription lundi 1 octobre 2007 Statut Membre Dernière intervention 6 novembre 2009 - 18 juin 2008 à 15:31
meliubaf Messages postés 22 Date d'inscription lundi 1 octobre 2007 Statut Membre Dernière intervention 6 novembre 2009 - 18 juin 2008 à 16:21
Cette discussion concerne un article du site. Pour la consulter dans son contexte d'origine, cliquez sur le lien ci-dessous.

https://codes-sources.commentcamarche.net/source/15856-slide-show

meliubaf Messages postés 22 Date d'inscription lundi 1 octobre 2007 Statut Membre Dernière intervention 6 novembre 2009
18 juin 2008 à 16:21
ou bien voir mon code SLIDESHOW-MANUEL-AUTOMATIQUE-SIMPLIFIE_47053.aspx
meliubaf Messages postés 22 Date d'inscription lundi 1 octobre 2007 Statut Membre Dernière intervention 6 novembre 2009
18 juin 2008 à 15:31
Pour améliorer un peu :

<html>
<head>
<title>Slide Show Manuel</title>
<script language="JavaScript">
<!--
var myPix = new Array("img1.gif","img2.gif","img3.gif");
var thisPic = 0;
var imgCt = myPix.length - 1;

function chgSlide(direction) {
if (document.images) {
thisPic = thisPic + direction
if (thisPic > imgCt) {
thisPic = 0
}
if (thisPic < 0) {
thisPic = imgCt
}
document.myPicture.src = myPix[thisPic]
}
}
//-->
</script>
</head>



[javascript:chgSlide(-1) Précédent] / [javascript:chgSlide(+1) Suivant]



</html>
Rejoignez-nous