IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Bibliothèques & Frameworks Discussion :

Diaporama Slideshow


Sujet :

Bibliothèques & Frameworks

  1. #1
    Nouveau membre du Club
    Inscrit en
    Mai 2007
    Messages
    49
    Détails du profil
    Informations forums :
    Inscription : Mai 2007
    Messages : 49
    Points : 33
    Points
    33
    Par défaut Diaporama Slideshow
    Bonjour à tous,

    je cherche à intégrer un diaporama mootools slideshow.

    La démo est accesible ici : http://www.electricprism.com/aeron/slideshow/

    Le module est téléchargeable ici : http://code.google.com/p/slideshow/

    Voila il y a quelques manipulations à faire pour que le module fonctionne. Chez moi ca ne marche pas donc j'ai du rater une des manipulations.

    Voici le code source :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    	<title>Slideshow 2!</title>
    	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
    	<meta name="author" content="Aeron Glemann (http://www.electricprism.com/aeron/)" />
    	<link rel="stylesheet" type="text/css" href="css/slideshow.css" media="screen" />
    	<script type="text/javascript" src="js/mootools.js"></script>
    	<script type="text/javascript" src="js/slideshow.js"></script>
    	<script type="text/javascript">		
    	//<![CDATA[
    	  window.addEvent('domready', function(){
          // Load your images here
    	    var data = [
    	      // "1.jpg", "2.jpg", "3.jpg"
    	    ];
    	    // Initialize the Slideshow instance
    	    var myShow = new Slideshow('show', data, { height: 300, hu: 'images/', width: 400 });
    	  });
    	//]]>
    	</script>
    </head>
    <body>
      <div id="show" class="slideshow">
        <!-- Add your default image here -->
        <img src="" alt="" />
        <img src="" alt="" />
      </div>
    </body>
    </html>

    J'ai integrer des images dans mon dossier /images.
    Voila et niveau js j'y connais rien... :/
    Donc si quelqu'un peut m'aider çà serait super simpa.

    Merci

  2. #2
    Nouveau membre du Club
    Profil pro
    Inscrit en
    Septembre 2008
    Messages
    42
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2008
    Messages : 42
    Points : 39
    Points
    39
    Par défaut
    Salut,

    Tes images sont en commentaires:

    // "1.jpg", "2.jpg", "3.jpg"
    , enlève le //

  3. #3
    Nouveau membre du Club
    Inscrit en
    Mai 2007
    Messages
    49
    Détails du profil
    Informations forums :
    Inscription : Mai 2007
    Messages : 49
    Points : 33
    Points
    33
    Par défaut
    C'est enlever ... mais il doit y avoir d'autre erreur comme ça car ça marche toujours pas :s

    Voici le read me du fichier ... il y a pas beaucoup de modifs a faire pourtant .. :

    === Read Me ===

    Slideshow is a javascript class for Mootools 1.2 to stream and animate the presentation of images on your website. Follow these instructions to get started:

    # Add the images for your show to the /images folder in this download.
    # Create the data object for the show in index.html based on the filenames of the images being used.
    # Load index.html in your browser.

    For information on creating thumbnails, customizing animations and using the Slideshow extensions, please consult the documentation:

    http://code.google.com/p/slideshow/w/list

    D'après moi ca peut venir que de la : # Create the data object for the show in index.html based on the filenames of the images being used.

Discussions similaires

  1. [CS3] Diaporama / Slideshow
    Par mslegoic dans le forum Flash
    Réponses: 4
    Dernier message: 07/09/2015, 21h48
  2. diaporama : Slideshow
    Par xGio10 dans le forum Balisage (X)HTML et validation W3C
    Réponses: 13
    Dernier message: 01/04/2012, 18h13
  3. slideshow / diaporama
    Par hoel44300 dans le forum Flash
    Réponses: 1
    Dernier message: 15/10/2010, 13h21
  4. Intégration d'un diaporama type slideshow dans pages WP
    Par redactriceweb dans le forum Général JavaScript
    Réponses: 1
    Dernier message: 16/06/2009, 15h42
  5. Slideshow d'images ou diaporama automatique et aléatoire ?
    Par j5818 dans le forum Général JavaScript
    Réponses: 9
    Dernier message: 28/06/2008, 19h20

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo