Masquer les derniers auteurs
Paul Libbrecht 25.1 1 {{html clean="false"}}
Paul Libbrecht 32.5 2 blablablla
Paul Libbrecht 32.6 3 <div style="height:500px; width:500px; float:right">
Paul Libbrecht 32.7 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>
Paul Libbrecht 28.1 7 <div id="slideshow4" class="slide" style="display: none"><div>frame 4</div></div>
Paul Libbrecht 32.2 8 </div>
Paul Libbrecht 28.1 9 <script type="text/javascript">
10
Paul Libbrecht 32.7 11 start_slideshow(1, 4, 5000);
Paul Libbrecht 28.1 12
13 function start_slideshow(start_frame, end_frame, delay) {
14 setTimeout(switch_slides(start_frame,start_frame,end_frame, delay), delay);
15 }
16
17 function switch_slides(frame, start_frame, end_frame, delay) {
18 return (function() {
19 Effect.Fade('slideshow' + frame);
20 if (frame == end_frame) { frame = start_frame; } else { frame = frame + 1; }
21 setTimeout("Effect.Appear('slideshow" + frame + "');", 850);
22 setTimeout(switch_slides(frame, start_frame, end_frame, delay), delay + 850);
23 })
24 }
25
Paul Libbrecht (admin) 23.1 26 </script>
Paul Libbrecht (admin) 1.1 27 {{/html}}
This wiki is licensed under a Creative Commons 2.0 license
XWiki 13.10 - Documentation - Conditions