<
Depuis la version < 37.1 >
modifié par Quentin / Zèbre STURER
sur 2021/11/22 22:58
À la version < 38.1 >
modifié par Quentin / Zèbre STURER
sur 2021/11/22 22:59
>
Commentaire de modification : Il n'y a aucun commentaire pour cette version

Résumé

Détails

Icon Propriétés de la Page
Contenu
... ... @@ -1,7 +1,48 @@
1 1  == [[image:compa.PNG||height="73" width="478"]] ==
2 2  
3 3  == Bienvenue chez les Compagnons ==
4 +{{html clean="false"}}
4 4  
6 + <div style="height:310px; width:300px; padding-left:1em; float:right">
7 + <div id="slideshow1" class="slide" style=""><div><img src="/xwiki/bin/download/Main/WebHome/compa mur.jpeg?width=450"></div></div>
8 + <div id="slideshow2" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Main/WebHome/timothee-technique-de-feu-5.jpeg?width=450"></div></div>
9 + <div id="slideshow3" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Main/WebHome/DSCN5058.JPG?width=450"></div></div>
10 + <div id="slideshow4" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Main/WebHome/P1220426.JPG?width=450"></div></div>
11 + <div id="slideshow5" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Rouges/WebHome/Les-pios-preparent.jpg?width=450"></div></div>
12 + <div id="slideshow6" class="slide" style="display:none"> <div><img src="/xwiki/bin/download/Main/WebHome/paul-casserolle-sur-le-feu.JPG?width=450"></div></div>
13 +
14 + </div>
15 +
16 +
17 +
18 + <script type="text/javascript">
19 +
20 + start_slideshow(1, 6, 3000);
21 +
22 + function start_slideshow(start_frame, end_frame, delay) {
23 + setTimeout(switch_slides(start_frame,start_frame,end_frame, delay), delay);
24 + }
25 +
26 + function switch_slides(frame, start_frame, end_frame, delay) {
27 + return (function() {
28 + Effect.Fade('slideshow' + frame);
29 + frame = Math.floor(Math.random()*(end_frame-start_frame+1))+start_frame;
30 + //if(console) console.log("Next photo: " + frame);
31 + setTimeout("Effect.Appear('slideshow" + frame + "');", 850);
32 + setTimeout(switch_slides(frame, start_frame, end_frame, delay), delay + 850);
33 + })
34 + }
35 +
36 + var isGood = document.location.href.startsWith("https://");
37 + var isWrong = document.location.href.startsWith("http://");
38 + console.log("Insisting? " + isGood + " " + isWrong);
39 + if(!isGood && isWrong) {
40 + if(console && console.log) console.log("Redirecting to the https side.");
41 + document.location.replace("https://" + document.location.href.substring("http://".length));
42 + }
43 +
44 + </script>
45 +{{/html}}
5 5  Les compagnons forment un relais.
6 6  Ensembles, ils bâtissent leurs activités en autonomie.
7 7  
This wiki is licensed under a Creative Commons 2.0 license
XWiki 13.10 - Documentation - Conditions