<
Depuis la version < 30.1 >
modifié par Paul Libbrecht
sur 2017/08/19 13:23
À la version < 28.1 >
modifié par Paul Libbrecht
sur 2017/08/19 13:09
>
Commentaire de modification : Il n'y a aucun commentaire pour cette version

Résumé

Détails

Icon Propriétés de la Page
Contenu
... ... @@ -1,13 +1,13 @@
1 1  {{html clean="false"}}
2 2  
3 3  <div style="height:310px; width:300px; padding-left:1em; float:right">
4 -<div id="slideshow1" class="slide"> <div><img src="/xwiki/bin/download/Main/WebHome/paul-casserolle-sur-le-feu.JPG?width=450"></div></div>
5 -<div id="slideshow2" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Main/WebHome/timothee-technique-de-feu-5.jpeg?width=450"></div></div>
4 +<div id="slideshow0" class="slide"> <div><img src="/xwiki/bin/download/Main/WebHome/paul-casserolle-sur-le-feu.JPG?width=300"></div></div>
5 +<div id="slideshow1" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Main/WebHome/timothee-technique-de-feu-5.jpeg?width=300"></div></div>
6 6  </div>
7 7  
8 8  <script type="text/javascript">
9 9  
10 - start_slideshow(1, 2, 3000);
10 + start_slideshow(0, 1, 4000);
11 11  
12 12   function start_slideshow(start_frame, end_frame, delay) {
13 13   setTimeout(switch_slides(start_frame,start_frame,end_frame, delay), delay);
... ... @@ -17,7 +17,7 @@
17 17   return (function() {
18 18   Effect.Fade('slideshow' + frame);
19 19   frame = Math.floor(Math.random()*(end_frame-start_frame+1))+start_frame;
20 - //if(console) console.log("Next photo: " + frame);
20 + //if (frame == end_frame) { frame = start_frame; } else { frame = frame + 1; }
21 21   setTimeout("Effect.Appear('slideshow" + frame + "');", 850);
22 22   setTimeout(switch_slides(frame, start_frame, end_frame, delay), delay + 850);
23 23   })

Actualités

Annonce

Journal

Branches

Maîtrise
Compas
PioCas
Scouts
LouJa
Farfadet

photos

Groupe

Branches

Portrait

Admin

Pédagogie

Cahier de Chant

















contact

This wiki is licensed under a Creative Commons 2.0 license
XWiki 13.10 - Documentation - Conditions