Modifications pour le document Verts - Compagnons
sur 2021/11/23 09:18
sur 2021/11/23 09:19
Résumé
Détails
- Propriétés de la Page
-
- Contenu
-
... ... @@ -40,71 +40,6 @@ 40 40 </script> 41 41 {{/html}} 42 42 43 -(% style="height:100px; width:300px; padding-left:1em; float:right" %) 44 -((( 45 -(% class="slide" id="slideshow1" %) 46 -((( 47 -((( 48 -[[image:https://scouts.forbach.fr/download/Verts/WebHome/compa%20mur.jpg?height = 150px||height="380" width="191"]] 49 -))) 50 - 51 - 52 -))) 53 - 54 -(% class="slide" id="slideshow2" style="display: none" %) 55 -((( 56 -((( 57 -[[image:/xwiki/download/Main/WebHome/tim visage.jpg?height = 150px]] 58 -))) 59 -))) 60 - 61 -(% class="slide" id="slideshow3" style="display: none" %) 62 -((( 63 -((( 64 -[[image:https://scouts.forbach.fr/download/Verts/WebHome/quentin%20visage.jpg?height = 150px]] 65 -))) 66 -))) 67 - 68 -(% class="slide" id="slideshow4" style="display: none" %) 69 -((( 70 -((( 71 -[[image:https://scouts.forbach.fr/download/Verts/WebHome/julien%20visage.jpg?height = 150px]] 72 -))) 73 -))) 74 - 75 -(% class="slide" id="slideshow5" style="display: none" %) 76 -((( 77 -((( 78 -[[image:https://scouts.forbach.fr/download/Verts/WebHome/compa%20tente.jpg?height = 150px]] 79 -))) 80 -))) 81 -))) 82 - 83 -/~*~*/ 84 -\\ 85 - start_slideshow(1, 6, 3000); 86 - 87 - function start_slideshow(start_frame, end_frame, delay) { 88 - setTimeout(switch_slides(start_frame,start_frame,end_frame, delay), delay); 89 - } 90 - 91 - function switch_slides(frame, start_frame, end_frame, delay) { 92 - return (function() { 93 - Effect.Fade('slideshow' + frame); 94 - frame = Math.floor(Math.random()*(end_frame-start_frame+1))+start_frame; 95 - ~/~/if(console) console.log("Next photo: " + frame); 96 - setTimeout("Effect.Appear('slideshow" + frame + "');", 850); 97 - setTimeout(switch_slides(frame, start_frame, end_frame, delay), delay + 850); 98 - }) 99 - } 100 -\\ var isGood = document.location.href.startsWith("https:~/~/"); 101 - var isWrong = document.location.href.startsWith("http:~/~/"); 102 - console.log("Insisting? " + isGood + " " + isWrong); 103 - if(!isGood && isWrong) { 104 - if(console && console.log) console.log("Redirecting to the https side."); 105 - document.location.replace("https:~/~/" + document.location.href.substring("http:~/~/".length)); 106 - } 107 -\\ 108 108 /~*~*/== [[image:compa.PNG||height="73" width="478"]] == 109 109 110 110