Masquer les derniers auteurs
Paul Libbrecht 25.1 1 {{velocity}}
Paul Libbrecht 31.1 2 #* $xwiki.jsfx.use('js/scriptaculous/scriptaculous.js')
Paul Libbrecht 25.1 3 $xwiki.jsfx.use('js/scriptaculous/effects.js')
4 $xwiki.jsfx.use('js/protoshow/protoshow.js')
Paul Libbrecht 27.1 5 ## $xwiki.ssx.use('js/protoshow/protoshow.css')
Paul Libbrecht 31.1 6 *#
Paul Libbrecht (admin) 24.1 7 {{/velocity}}
8
Paul Libbrecht 25.1 9 {{html clean="false"}}
Paul Libbrecht 32.3 10 <div style="height:200px; width:200px">
Paul Libbrecht 32.2 11 <div id="slideshow1" class="slide"><div><img src="http://scouts.forbach.fr/xwiki/bin/download/Bleus_Camp2013/WebHome/P7270061.JPG?width=200"></div></div>
Paul Libbrecht 32.1 12 <div id="slideshow2" class="slide" style="display: none"><div><img src="http://scouts.forbach.fr/xwiki/bin/download/Bleus_Camp2013/WebHome/P7270062.JPG?width=200"></div></div>
13 <div id="slideshow3" class="slide" style="display: none"><div><img src="http://scouts.forbach.fr/xwiki/bin/download/Bleus_Camp2013/WebHome/P7270060.JPG?width=200"></div></div>
Paul Libbrecht 28.1 14 <div id="slideshow4" class="slide" style="display: none"><div>frame 4</div></div>
Paul Libbrecht 32.2 15 </div>
Paul Libbrecht 28.1 16 <script type="text/javascript">
17
18 start_slideshow(1, 4, 2000);
19
20 function start_slideshow(start_frame, end_frame, delay) {
21 setTimeout(switch_slides(start_frame,start_frame,end_frame, delay), delay);
22 }
23
24 function switch_slides(frame, start_frame, end_frame, delay) {
25 return (function() {
26 Effect.Fade('slideshow' + frame);
27 if (frame == end_frame) { frame = start_frame; } else { frame = frame + 1; }
28 setTimeout("Effect.Appear('slideshow" + frame + "');", 850);
29 setTimeout(switch_slides(frame, start_frame, end_frame, delay), delay + 850);
30 })
31 }
32
Paul Libbrecht (admin) 23.1 33 </script>
Paul Libbrecht (admin) 1.1 34 {{/html}}
This wiki is licensed under a Creative Commons 2.0 license
XWiki 13.10 - Documentation - Conditions