<
Depuis la version < 15.1 >
modifié par Paul Libbrecht (admin)
sur 2013/09/10 13:56
À la version < 32.7 >
modifié par Paul Libbrecht
sur 2013/09/11 21:49
>
Commentaire de modification : miniature attempt

Résumé

Détails

Icon Propriétés de la Page
Auteur du document
... ... @@ -1,1 +1,1 @@
1 -XWiki.adminPolx
1 +XWiki.polx
Contenu
... ... @@ -1,15 +1,14 @@
1 -{{html clean="false"}}
2 -
3 -<div style="height:500">
4 -<div id="slideshow1" class="slide"><div><img src="/xwiki/bin/download/Louveteaux_Camp2013/Photos/DSC05093.JPG?width=300" width="300"></div></div>
5 -<div id="slideshow2" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Louveteaux_Camp2013/Photos/DSC05093.JPG?width=300" width="300"></div></div>
6 -<div id="slideshow3" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Louveteaux_Camp2013/Photos/DSC05019.JPG?width=300" width="300"></div></div>
7 -<div id="slideshow4" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Louveteaux_Camp2013/Photos/DSC04972.JPG?width=300" width="300"></div></div>
1 +{{html clean="false"}}
2 +blablablla
3 +<div style="height:500px; width:500px; float:right">
4 +<div id="slideshow1" class="slide"><div><img src="http://scouts.forbach.fr/xwiki/bin/download/Bleus_Camp2013/WebHome/P7270061.JPG?width=300"></div></div>
5 +<div id="slideshow2" class="slide" style="display: none"><div><img src="http://scouts.forbach.fr/xwiki/bin/download/Bleus_Camp2013/WebHome/P7270062.JPG?width=300"></div></div>
6 +<div id="slideshow3" class="slide" style="display: none"><div><img src="http://scouts.forbach.fr/xwiki/bin/download/Bleus_Camp2013/WebHome/P7270060.JPG?width=300"></div></div>
7 +<div id="slideshow4" class="slide" style="display: none"><div>frame 4</div></div>
8 8  </div>
9 -
10 10  <script type="text/javascript">
11 11  
12 - start_slideshow(1, 4, 2000);
11 + start_slideshow(1, 4, 5000);
13 13  
14 14   function start_slideshow(start_frame, end_frame, delay) {
15 15   setTimeout(switch_slides(start_frame,start_frame,end_frame, delay), delay);
... ... @@ -16,15 +16,13 @@
16 16   }
17 17  
18 18   function switch_slides(frame, start_frame, end_frame, delay) {
19 - // return (function() {
20 - if (console) console.log("Switching.");
18 + return (function() {
21 21   Effect.Fade('slideshow' + frame);
22 22   if (frame == end_frame) { frame = start_frame; } else { frame = frame + 1; }
23 23   setTimeout("Effect.Appear('slideshow" + frame + "');", 850);
24 24   setTimeout(switch_slides(frame, start_frame, end_frame, delay), delay + 850);
25 - // })
23 + })
26 26   }
27 27  
28 28  </script>
29 -
30 30  {{/html}}
This wiki is licensed under a Creative Commons 2.0 license
XWiki 13.10 - Documentation - Conditions