Modifications pour le document Verts - Compagnons
sur 2021/11/22 23:03
sur 2021/11/22 22:58
Résumé
Détails
- Propriétés de la Page
-
- Contenu
-
... ... @@ -1,47 +1,7 @@ 1 1 == [[image:compa.PNG||height="73" width="478"]] == 2 2 3 3 == Bienvenue chez les Compagnons == 4 -{{html clean="false"}} 5 5 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.jpg?width=450"></div></div> 8 - <div id="slideshow2" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Main/WebHome/tim visage.jpeg?width=450"></div></div> 9 - <div id="slideshow3" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Main/WebHome/quentin visage.JPG?width=450"></div></div> 10 - <div id="slideshow4" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Main/WebHome/julien visage.JPG?width=450"></div></div> 11 - <div id="slideshow5" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Rouges/WebHome/compa tente.jpg?width=450"></div></div> 12 - 13 - </div> 14 - 15 - 16 - 17 - <script type="text/javascript"> 18 - 19 - start_slideshow(1, 6, 3000); 20 - 21 - function start_slideshow(start_frame, end_frame, delay) { 22 - setTimeout(switch_slides(start_frame,start_frame,end_frame, delay), delay); 23 - } 24 - 25 - function switch_slides(frame, start_frame, end_frame, delay) { 26 - return (function() { 27 - Effect.Fade('slideshow' + frame); 28 - frame = Math.floor(Math.random()*(end_frame-start_frame+1))+start_frame; 29 - //if(console) console.log("Next photo: " + frame); 30 - setTimeout("Effect.Appear('slideshow" + frame + "');", 850); 31 - setTimeout(switch_slides(frame, start_frame, end_frame, delay), delay + 850); 32 - }) 33 - } 34 - 35 - var isGood = document.location.href.startsWith("https://"); 36 - var isWrong = document.location.href.startsWith("http://"); 37 - console.log("Insisting? " + isGood + " " + isWrong); 38 - if(!isGood && isWrong) { 39 - if(console && console.log) console.log("Redirecting to the https side."); 40 - document.location.replace("https://" + document.location.href.substring("http://".length)); 41 - } 42 - 43 - </script> 44 -{{/html}} 45 45 Les compagnons forment un relais. 46 46 Ensembles, ils bâtissent leurs activités en autonomie. 47 47