Modifications pour le document Code test
sur 2021/11/23 16:25
sur 2021/11/02 22:03
Résumé
Détails
- Propriétés de la Page
-
- Contenu
-
... ... @@ -1,59 +2,187 @@ 1 - 2 2 {{html clean="false"}} 3 -<!DOCTYPE html> 4 -<html> 5 -<head> 6 - <meta charset="utf-8"> 7 - <link rel="stylesheet" type="text/css" href="menu deroulant.css"> 8 - <title>Forbach- 1ère Jeanne D'Arc</title> 9 -</head> 2 +<div id="box vert" style="display: flex;"> 3 + <div id="html"> 4 + <body> 5 + <div id=blue_box style="display:flex; background-color: lightgrey; padding-left:1em;"> 6 + <div id="paragraphe" style="display:flex; ;"> 7 + <p> 8 + <div> 9 + <h3 style="display:flex;">Dates de la rentrée 2021:</h3> 10 + <ul > 11 + <li>11/9: réunion</li> 12 + <li>25-26/9: Week-end de groupe de rentrée à Mackviller (tous)</li> 13 + <li>2 oct: réunion</li> 14 + <li>16-17/10: rouges & bleus: week-end du JOTI:</li> 15 + <li>30/10: oranges: réunion</li> 16 + <li>6/11: réunion</li> 17 + <li>20/11: réunion (rouges & bleus: week-end)</li> 18 + <li>4/12: réunion</li> 19 + <li>11/12: réunion</li> 20 + </ul> 21 + </p> 22 + <p style="display:flex;"> <br> 23 + **Note:** la fête de Noël est repoussée au temps du carnaval. 10 10 11 -<body style=" margin: 0px; padding: 0px; font-family: Avenir, sans-serif;"> 25 + Les programmes par branche: **[[Verts>>Verts.WebHome]], [[Rouges>>Rouges.WebHome]], [[Bleus>>doc:Bleus.WebHome]], [[Oranges>>doc:Oranges.WebHome]].** 26 + Les **[[anciens plannings>>doc:Groupe.ArchivePlannings]].** 12 12 13 - <!-- Titre--> 14 - <h1>Menu déroulant sticky HTML et CSS</h1> 28 + Les réunions ont lieu à Forbach au **[[local Rue de Remsing>>Local]]**, en général, de 14h00 à 17h30 (des changements covidéens ne sont pas rares). 15 15 16 -<!-- bare de menu--> 17 -<nav style="width: 100%; margin: 0 auto; background-color: #11487B ;position: sticky; top: 0px;"> 30 + Des covoiturages entre Welfedering et Forbach sont régulièrement organisés par le biais d'un sondage Scoodle dont l'URL est envoyé par mail. 31 + </p> 32 + </div> 33 + </div> 34 + </div> 35 + </body> 36 + </div> 37 + <div id="carrouselle_photo" style="display:flex;"> 38 + <div id="box rouge" style="border:solid red"> 39 + <div style="height:310px; width:300px; padding-left:1em; float:right"> 40 + <div id="slideshow1" class="slide" style=""><div><img src="/xwiki/bin/download/Main/WebHome/pionniers-veillee-2020.jpeg?width=450"></div></div> 41 + <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> 42 + <div id="slideshow3" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Main/WebHome/DSCN5058.JPG?width=450"></div></div> 43 + <div id="slideshow4" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Main/WebHome/P1220426.JPG?width=450"></div></div> 44 + <div id="slideshow5" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Rouges/WebHome/Les-pios-preparent.jpg?width=450"></div></div> 45 + <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> 46 + </div> 47 + </div> 48 + <div id="Javascript"> 49 + <script type="text/javascript"> 50 + 51 + start_slideshow(1, 6, 3000); 52 + 53 + function start_slideshow(start_frame, end_frame, delay) { 54 + setTimeout(switch_slides(start_frame,start_frame,end_frame, delay), delay); 55 + } 56 + 57 + function switch_slides(frame, start_frame, end_frame, delay) { 58 + return (function() { 59 + Effect.Fade('slideshow' + frame); 60 + frame = Math.floor(Math.random()*(end_frame-start_frame+1))+start_frame; 61 + //if(console) console.log("Next photo: " + frame); 62 + setTimeout("Effect.Appear('slideshow" + frame + "');", 850); 63 + setTimeout(switch_slides(frame, start_frame, end_frame, delay), delay + 850); 64 + }) 65 + } 18 18 19 -<!-- Menu Principal--> 20 - <ul style ="list-style-type: none; font.color: white;"> 21 - <li class="deroulant"><a href="#"style="color: white; float: left;width: 19%; text-align: center;position: relative;">Branches  </a> 22 -<!-- Menu Secondaire--> 23 - <!-- 1er Menu--> 24 - <ul class="sous" style="list-style-type: none;"> 25 - <li ><a href="#"style="color:orange">Louveteaux</a></li> 26 - <li><a href="#"style="color:blue">Scouts</a></li> 27 - <li><a href="#"style="color:red">Pionniers</a></li> 28 - <li><a href="#"style="color:darkgreen;">Compagnons</a></li> 29 - </ul> 30 - </li> 31 - <!--Second Menu--> 32 - <li class="deroulant"><a href="#"style="color: white;float: left;width: 19%;text-align: center;position: relative;">Photos  </a> 33 - <ul class="sous" style="list-style-type: none"> 34 - <li ><a href="#"style="color:orange">Louveteaux</a></li> 35 - <li><a href="#"style="color:blue">Scouts</a></li> 36 - <li><a href="#"style="color:red">Pionniers</a></li> 37 - <li><a href="#"style="color:darkgreen;">Compagnons</a></li> 38 - </ul> 39 - </li> 40 - 41 - <!--troisième Menu--> 42 - <li class="deroulant"><a href="#"style="color: white;float: left;width: 19%;text-align: center;position: relative;">Archives  </a> 43 - <ul class="sous" style="list-style-type: none"> 44 - <li><a href="#">CSS display</a></li> 45 - <li><a href="#">CSS position</a></li> 46 - <li><a href="#">CSS float</a></li> 47 - </ul> 48 - </li> 49 - <li><a href="#"style="color: white;float: left;width: 19%;text-align: center;position: relative;">Contact</a></li> 50 - <li><a href="#"style="color: white;float: left;width: 19%;text-align: center;position: relative;">A propos</a></li> 51 - </ul> 52 -</nav> 53 - 54 -<div class="conteneur"> 55 - <p>Du contenu sous le menu</p> 67 + var isGood = document.location.href.startsWith("https://"); 68 + var isWrong = document.location.href.startsWith("http://"); 69 + console.log("Insisting? " + isGood + " " + isWrong); 70 + if(!isGood && isWrong) { 71 + if(console && console.log) console.log("Redirecting to the https side."); 72 + document.location.replace("https://" + document.location.href.substring("http://".length)); 73 + } 74 + </script> 75 + </div> 76 + </div> 56 56 </div> 57 -</body> 58 -</html> 59 59 {{/html}} 79 + 80 +(% id="blue_box" style="display:flex; background-color: lightgrey; padding-left:1em;" %) 81 +((( 82 +(% id="paragraphe" style="display:flex; ;" %) 83 +((( 84 + 85 + 86 +((( 87 +(% style="display:flex;" %) 88 +=== Dates de la rentrée 2021: === 89 + 90 +* 11/9: réunion 91 +* 25-26/9: Week-end de groupe de rentrée à Mackviller (tous) 92 +* 2 oct: réunion 93 +* 16-17/10: rouges & bleus: week-end du JOTI: 94 +* 30/10: oranges: réunion 95 +* 6/11: réunion 96 +* 20/11: réunion (rouges & bleus: week-end) 97 +* 4/12: réunion 98 +* 11/12: réunion 99 + 100 + 101 +(% style="display:flex;" %) 102 + 103 +~*~*Note:~*~* la fête de Noël est repoussée au temps du carnaval. Les programmes par branche: ~*~*~[~[Verts.Code test.WebHome]], ~[~[Rouges>>Rouges.WebHome]], ~[~[Bleus>>doc:Bleus.WebHome]], ~[~[Oranges>>doc:Oranges.WebHome]].~*~* Les ~*~*~[~[anciens plannings>>doc:Groupe.ArchivePlannings]].~*~* Les réunions ont lieu à Forbach au ~*~*~[~[local Rue de Remsing>>Local]]~*~*, en général, de 14h00 à 17h30 (des changements covidéens ne sont pas rares). Des covoiturages entre Welfedering et Forbach sont régulièrement organisés par le biais d'un sondage Scoodle dont l'URL est envoyé par mail. 104 +))) 105 +))) 106 +))) 107 + 108 +(% id="carrouselle_photo" style="display:flex;" %) 109 +((( 110 +(% id="box rouge" style="border:solid red" %) 111 +((( 112 +(% style="height:310px; width:300px; padding-left:1em; float:right" %) 113 +((( 114 +(% class="slide" id="slideshow1" %) 115 +((( 116 +((( 117 +[[image:/xwiki/bin/download/Main/WebHome/pionniers-veillee-2020.jpeg?width=450]] 118 +))) 119 +))) 120 + 121 +(% class="slide" id="slideshow2" style="display: none" %) 122 +((( 123 +((( 124 +[[image:/xwiki/bin/download/Main/WebHome/timothee-technique-de-feu-5.jpeg?width=450]] 125 +))) 126 +))) 127 + 128 +(% class="slide" id="slideshow3" style="display: none" %) 129 +((( 130 +((( 131 +[[image:/xwiki/bin/download/Main/WebHome/DSCN5058.JPG?width=450]] 132 +))) 133 +))) 134 + 135 +(% class="slide" id="slideshow4" style="display: none" %) 136 +((( 137 +((( 138 +[[image:/xwiki/bin/download/Main/WebHome/P1220426.JPG?width=450]] 139 +))) 140 +))) 141 + 142 +(% class="slide" id="slideshow5" style="display: none" %) 143 +((( 144 +((( 145 +[[image:/xwiki/bin/download/Rouges/WebHome/Les-pios-preparent.jpg?width=450]] 146 +))) 147 +))) 148 + 149 +(% class="slide" id="slideshow6" style="display:none" %) 150 +((( 151 +((( 152 +[[image:/xwiki/bin/download/Main/WebHome/paul-casserolle-sur-le-feu.JPG?width=450]] 153 +))) 154 +))) 155 +))) 156 +))) 157 + 158 +(% id="Javascript" %) 159 +((( 160 +/~*~*/ 161 +\\ 162 + start_slideshow(1, 6, 3000); 163 + 164 + function start_slideshow(start_frame, end_frame, delay) { 165 + setTimeout(switch_slides(start_frame,start_frame,end_frame, delay), delay); 166 + } 167 + 168 + function switch_slides(frame, start_frame, end_frame, delay) { 169 + return (function() { 170 + Effect.Fade('slideshow' + frame); 171 + frame = Math.floor(Math.random()*(end_frame-start_frame+1))+start_frame; 172 + ~/~/if(console) console.log("Next photo: " + frame); 173 + setTimeout("Effect.Appear('slideshow" + frame + "');", 850); 174 + setTimeout(switch_slides(frame, start_frame, end_frame, delay), delay + 850); 175 + }) 176 + } 177 +\\ var isGood = document.location.href.startsWith("https:~/~/"); 178 + var isWrong = document.location.href.startsWith("http:~/~/"); 179 + console.log("Insisting? " + isGood + " " + isWrong); 180 + if(!isGood && isWrong) { 181 + if(console && console.log) console.log("Redirecting to the https side."); 182 + document.location.replace("https:~/~/" + document.location.href.substring("http:~/~/".length)); 183 + } 184 + 185 +/~*~*/ 186 +))) 187 +)))