Modifications pour le document Code test
sur 2021/11/23 09:02
sur 2021/11/23 16:25
Résumé
Détails
- Propriétés de la Page
-
- Contenu
-
... ... @@ -1,42 +1,59 @@ 1 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> 3 3 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/compa tente.jpg?"></div></div> 11 +<body style=" margin: 0px; padding: 0px; font-family: Avenir, sans-serif;"> 10 10 11 - </div> 13 + <!-- Titre--> 14 + <h1>Menu déroulant sticky HTML et CSS</h1> 12 12 16 +<!-- bare de menu--> 17 +<nav style="width: 100%; margin: 0 auto; background-color: #11487B ;position: sticky; top: 0px;"> 13 13 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> 14 14 15 - <script type="text/javascript"> 16 - 17 - start_slideshow(1, 6, 3000); 18 - 19 - function start_slideshow(start_frame, end_frame, delay) { 20 - setTimeout(switch_slides(start_frame,start_frame,end_frame, delay), delay); 21 - } 22 - 23 - function switch_slides(frame, start_frame, end_frame, delay) { 24 - return (function() { 25 - Effect.Fade('slideshow' + frame); 26 - frame = Math.floor(Math.random()*(end_frame-start_frame+1))+start_frame; 27 - //if(console) console.log("Next photo: " + frame); 28 - setTimeout("Effect.Appear('slideshow" + frame + "');", 850); 29 - setTimeout(switch_slides(frame, start_frame, end_frame, delay), delay + 850); 30 - }) 31 - } 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> 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 - 41 - </script> 54 +<div class="conteneur"> 55 + <p>Du contenu sous le menu</p> 56 +</div> 57 +</body> 58 +</html> 42 42 {{/html}}