meliubaf
Messages postés22Date d'inscriptionlundi 1 octobre 2007StatutMembreDernière intervention 6 novembre 2009
-
18 juin 2008 à 15:31
meliubaf
Messages postés22Date d'inscriptionlundi 1 octobre 2007StatutMembreDerniè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.
meliubaf
Messages postés22Date d'inscriptionlundi 1 octobre 2007StatutMembreDernière intervention 6 novembre 2009 18 juin 2008 à 16:21
ou bien voir mon code SLIDESHOW-MANUEL-AUTOMATIQUE-SIMPLIFIE_47053.aspx
meliubaf
Messages postés22Date d'inscriptionlundi 1 octobre 2007StatutMembreDerniè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>
18 juin 2008 à 16:21
18 juin 2008 à 15:31
<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>