Code source wiki de TestTransitions
Version 26.1 par Paul Libbrecht le 2013/09/11 21:29
Afficher les derniers auteurs
author | version | line-number | content |
---|---|---|---|
1 | {{velocity}} | ||
2 | $xwiki.jsfx.use('js/scriptaculous/scriptaculous.js') | ||
3 | $xwiki.jsfx.use('js/scriptaculous/effects.js') | ||
4 | $xwiki.jsfx.use('js/protoshow/protoshow.js') | ||
5 | $xwiki.ssx.use('js/protoshow/protoshow.css') | ||
6 | {{/velocity}} | ||
7 | |||
8 | {{html clean="false"}} | ||
9 | <div id="myshow"><!-- protoshow container --> | ||
10 | <ul class="show"><!-- slideshow itself --> | ||
11 | <li class="slide"><img src="http://farm3.static.flickr.com/2531/4121218751_ac8bf49d5d.jpg"></li> | ||
12 | <li class="slide" style="display: none"><img src="http://farm3.static.flickr.com/2597/4121218611_040cd7b3f2.jpg"></li> | ||
13 | <li class="slide" style="display: none"><img src="http://farm3.static.flickr.com/2610/4148988872_990b6da667.jpg"></li> | ||
14 | </ul> | ||
15 | </div> | ||
16 | |||
17 | <script type="text/javascript"> | ||
18 | document.observe('load', function() { | ||
19 | // reference ID of our show container | ||
20 | var show = new protoShow('myshow'); | ||
21 | }); | ||
22 | </script> | ||
23 | {{/html}} |