Masquer les derniers auteurs
Paul Libbrecht (admin) 1.1 1 {{html clean="false"}}
Paul Libbrecht (admin) 3.1 2
Paul Libbrecht (admin) 12.1 3 <div style="height:500">
Paul Libbrecht (admin) 13.1 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>
Paul Libbrecht (admin) 12.1 8 </div>
Paul Libbrecht (admin) 3.1 9
Paul Libbrecht (admin) 10.1 10 <script type="text/javascript">
11
12 start_slideshow(1, 4, 2000);
13
14 function start_slideshow(start_frame, end_frame, delay) {
15 setTimeout(switch_slides(start_frame,start_frame,end_frame, delay), delay);
16 }
17
18 function switch_slides(frame, start_frame, end_frame, delay) {
Paul Libbrecht (admin) 14.1 19 // return (function() {
Paul Libbrecht (admin) 15.1 20 if (console) console.log("Switching.");
Paul Libbrecht (admin) 10.1 21 Effect.Fade('slideshow' + frame);
22 if (frame == end_frame) { frame = start_frame; } else { frame = frame + 1; }
23 setTimeout("Effect.Appear('slideshow" + frame + "');", 850);
24 setTimeout(switch_slides(frame, start_frame, end_frame, delay), delay + 850);
Paul Libbrecht (admin) 14.1 25 // })
Paul Libbrecht (admin) 10.1 26 }
Paul Libbrecht (admin) 3.1 27
Paul Libbrecht (admin) 10.1 28 </script>
Paul Libbrecht (admin) 3.1 29
Paul Libbrecht (admin) 1.1 30 {{/html}}
This wiki is licensed under a Creative Commons 2.0 license
XWiki 13.10 - Documentation - Conditions