begin process at 2010 02 10 12:04:48
  Trouver un code source :
 
dans
 
Accueil > 

Code

 > 

Graphique

 > SLIDE SHOW

SLIDE SHOW


 Information sur la source

Note :
1 / 10 - par 1 personne
1,00 / 10

  • 1

  • 2

  • 3

  • 4

  • 5

  • 6

  • 7

  • 8

  • 9

  • 10
Catégorie :Graphique Niveau :Débutant Date de création :03/06/2002 Date de mise à jour :03/06/2002 04:39:24 Vu :12 202

Auteur : bob3000

Ecrire un message privé
Site perso
Ce membre participe au partage de revenus publicitaires
Commentaire sur cette source (2)
Ajouter un commentaire et/ou une note


 Description

Slide Show en javascript

Source

  • <p align="center"><img name="myPicture" src="img1.gif" width="100" height="57">
  • <script language="JavaScript">
  • var myPix = new Array("img1.gif","img2.gif","img3.gif")
  • var thisPic = 0
  • function doPrevious() {
  • if (document.images && thisPic > 0) {
  • thisPic--
  • document.myPicture.src=myPix[thisPic]
  • }
  • }
  • function doNext() {
  • if (document.images && thisPic < 2) {
  • thisPic++
  • document.myPicture.src=myPix[thisPic]
  • }
  • }
  • </script>
  • <br><small><font face="Verdana"><a href="javascript:doPrevious()">Précédent</a><font color="#FFFFFF">-</font> <a href="javascript:doNext()">Suivant</a></font></small>
<p align="center"><img name="myPicture" src="img1.gif" width="100" height="57">

<script language="JavaScript">
var myPix = new Array("img1.gif","img2.gif","img3.gif")
var thisPic = 0

function doPrevious() {
    if (document.images && thisPic > 0) {
        thisPic--
        document.myPicture.src=myPix[thisPic]
    }
}

function doNext() {
    if (document.images && thisPic < 2) {
        thisPic++
        document.myPicture.src=myPix[thisPic]
    }
}
</script>
<br><small><font face="Verdana"><a href="javascript:doPrevious()">Précédent</a><font color="#FFFFFF">-</font> <a href="javascript:doNext()">Suivant</a></font></small>

 Conclusion

C'est pas de moi mais j'ai trouvé ça sur

http://www.java-scripts.net/

bob3000


 Sources du même auteur

Source avec une capture POPUP SPECIAL(MODAL - MODELESS DIALOG)
EFFET DE CHARGEMENT
INFOS SUR LES UTILISATEURS
FACON LA PLUS FACILE AU MONDE D'ECRIRE LA DATE
COULEUR DE FOND ALEATOIRE + TITRE ALEATOIRE *UPDATED*

 Sources de la même categorie

Source avec Zip Source avec une capture STOCK/FOREX CANDLE CHART USING CANVAS API par BlackWizzard
MODIFIER SES FEUILLES DE STYLES .CSS À LA VOLÉE AVEC JAVASCR... par Phildepantin
Source avec Zip Source avec une capture FARMVILLE - HEURE ET COMBO LIST IMAGES par ym_trainz
Source avec Zip [-CLASS-] -> CARROUSSEL D'IMAGES par TheWeasel47
Source avec Zip Source avec une capture OGG MEDIA PLAYER par kazma

Commentaires et avis

Commentaire de meliubaf le 18/06/2008 15:31:28

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>

<body>
<img name="myPicture" src="img1.gif" width="100" height="57">
<p><a href="javascript:chgSlide(-1)">Précédent</a> / <a href="javascript:chgSlide(+1)">Suivant</a></p>
</body>
</html>

Commentaire de meliubaf le 18/06/2008 16:21:46

ou bien voir mon code SLIDESHOW-MANUEL-AUTOMATIQUE-SIMPLIFIE_47053.aspx

 Ajouter un commentaire




Nos sponsors


Sondage...

Comparez les prix

CalendriCode

Février 2010
LMMJVSD
1234567
891011121314
15161718192021
22232425262728

Consulter la suite du CalendriCode

 
Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel (EBArtSoft), Merci à Vincent pour ses précieux conseils.
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés

Google Coop CodeS-SourceS Google Coop CodeS-SourceS
Temps d'éxécution de la page : 0,515 sec (4)

Nous contacter | Annoncer sur CodeS-SourceS | Mentions légales