Modifications pour le document Code test
sur 2021/11/23 09:02
sur 2021/10/20 21:41
Résumé
Détails
- Propriétés de la Page
-
- Contenu
-
... ... @@ -1,17 +2,18 @@ 1 - 2 2 {{html clean="false"}} 3 - 2 +<div id="box vert" style="border: solid green"> 3 + <div id="carrouselle_photo" style="display:flex"> 4 + <div id="box rouge" style="border:solid red"> 4 4 <div style="height:310px; width:300px; padding-left:1em; float:right"> 5 - <div id="slideshow1" class="slide" style=""><div><img src="/xwiki/bin/download/Main/WebHome/ compa-mur.jpg?"></div></div>6 - <div id="slideshow2" class="slide" style="display: none"><div><img src="/xwiki/download/Main/WebHome/tim visage.jpeg?"></div></div>7 - <div id="slideshow3" class="slide" style="display: none"><div><img src="/xwiki/download/Main/WebHome/ quentin visage.JPG?"></div></div>8 - <div id="slideshow4" class="slide" style="display: none"><div><img src="/xwiki/download/Main/WebHome/ julien visage.JPG?"></div></div>9 - <div id="slideshow5" class="slide" style="display: none"><div><img src="/xwiki/download/Rouges/WebHome/ compatente.jpg?"></div></div>10 - 6 + <div id="slideshow1" class="slide" style=""><div><img src="/xwiki/bin/download/Main/WebHome/pionniers-veillee-2020.jpeg?width=450"></div></div> 7 + <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> 8 + <div id="slideshow3" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Main/WebHome/DSCN5058.JPG?width=450"></div></div> 9 + <div id="slideshow4" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Main/WebHome/P1220426.JPG?width=450"></div></div> 10 + <div id="slideshow5" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Rouges/WebHome/Les-pios-preparent.jpg?width=450"></div></div> 11 + <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> 11 11 </div> 13 + </div> 12 12 13 - 14 - 15 + <div id="Javascript"> 15 15 <script type="text/javascript"> 16 16 17 17 start_slideshow(1, 6, 3000); ... ... @@ -30,13 +30,31 @@ 30 30 }) 31 31 } 32 32 33 - var isGood = document.location.href.startsWith("https://"); 34 - var isWrong = document.location.href.startsWith("http://"); 35 - console.log("Insisting? " + isGood + " " + isWrong); 36 - if(!isGood && isWrong) { 37 - if(console && console.log) console.log("Redirecting to the https side."); 38 - document.location.replace("https://" + document.location.href.substring("http://".length)); 39 - } 40 - 34 + var isGood = document.location.href.startsWith("https://"); 35 + var isWrong = document.location.href.startsWith("http://"); 36 + console.log("Insisting? " + isGood + " " + isWrong); 37 + if(!isGood && isWrong) { 38 + if(console && console.log) console.log("Redirecting to the https side."); 39 + document.location.replace("https://" + document.location.href.substring("http://".length)); 40 + } 41 41 </script> 42 + </div> 43 + 44 + <div id="html"> 45 + <body> 46 + <div style="display:flex"> 47 + <div id="box bleu" style="border: solid blue"> 48 + <h1>Mon super Test</h1> 49 + <div id="paragraphe" style="display:flex; background-color:purple;color:blue;" > 50 + <p style="border: solid black;">box 1 !</p> 51 + <p style="border: solid black;">Box 2 !</p> 52 + <p style="border: solid black;">Box 3 !</p> 53 + <p style="border: solid black;">Box 4 !</p> 54 + </div> 55 + </div> 56 + </div> 57 + </body> 58 + </div> 59 + </div> 60 +</div> 42 42 {{/html}}