<
Depuis la version < 4.1 >
modifié par Quentin / Zèbre STURER
sur 2021/10/25 09:05
À la version < 21.1 >
modifié par Quentin / Zèbre STURER
sur 2021/11/23 16:25
>
Commentaire de modification : Il n'y a aucun commentaire pour cette version

Résumé

Détails

Icon Propriétés de la Page
Contenu
... ... @@ -1,90 +1,59 @@
1 +
1 1  {{html clean="false"}}
2 -<div id="box vert" style="border: solid green">
3 - <div id="html">
4 - <body>
5 - <div style="display:flex">
6 - <div id="box bleu" style="border: solid blue">
7 - <h1>Mon super Test</h1>
8 - <div id="paragraphe" style="display:flex; background-color:purple;color:blue;" >
9 - <p style="border: solid black;">box 1 !</p>
10 - <p style="border: solid black;">Box 2 !</p>
11 - <p style="border: solid black;">Box 3 !</p>
12 - <p style="border: solid black;">Box 4 !</p>
13 - </div>
14 - </div>
15 - </div>
16 - </body>
17 - </div>
18 -
19 -
20 -
21 -
22 -
23 - <div id="carrouselle_photo" style="display:flex">
24 - <div id="box rouge" style="border:solid red">
25 - <div style="height:310px; width:300px; padding-left:1em; float:right">
26 - <div id="slideshow1" class="slide" style=""><div><img src="/xwiki/bin/download/Main/WebHome/pionniers-veillee-2020.jpeg?width=450"></div></div>
27 - <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>
28 - <div id="slideshow3" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Main/WebHome/DSCN5058.JPG?width=450"></div></div>
29 - <div id="slideshow4" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Main/WebHome/P1220426.JPG?width=450"></div></div>
30 - <div id="slideshow5" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Rouges/WebHome/Les-pios-preparent.jpg?width=450"></div></div>
31 - <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>
32 - </div>
33 - </div>
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>
34 34  
35 - <div id="Javascript">
36 - <script type="text/javascript">
37 -
38 - start_slideshow(1, 6, 3000);
39 -
40 - function start_slideshow(start_frame, end_frame, delay) {
41 - setTimeout(switch_slides(start_frame,start_frame,end_frame, delay), delay);
42 - }
43 -
44 - function switch_slides(frame, start_frame, end_frame, delay) {
45 - return (function() {
46 - Effect.Fade('slideshow' + frame);
47 - frame = Math.floor(Math.random()*(end_frame-start_frame+1))+start_frame;
48 - //if(console) console.log("Next photo: " + frame);
49 - setTimeout("Effect.Appear('slideshow" + frame + "');", 850);
50 - setTimeout(switch_slides(frame, start_frame, end_frame, delay), delay + 850);
51 - })
52 - }
11 +<body style=" margin: 0px; padding: 0px; font-family: Avenir, sans-serif;">
53 53  
54 - var isGood = document.location.href.startsWith("https://");
55 - var isWrong = document.location.href.startsWith("http://");
56 - console.log("Insisting? " + isGood + " " + isWrong);
57 - if(!isGood && isWrong) {
58 - if(console && console.log) console.log("Redirecting to the https side.");
59 - document.location.replace("https://" + document.location.href.substring("http://".length));
60 - }
61 - </script>
62 - </div>
13 + <!-- Titre-->
14 + <h1>Menu déroulant sticky HTML et CSS</h1>
63 63  
64 - </div>
65 -</div>
66 -
67 -{{/html}}
16 +<!-- bare de menu-->
17 +<nav style="width: 100%; margin: 0 auto; background-color: #11487B ;position: sticky; top: 0px;">
68 68  
69 -(% style="display:flex" %)
70 -(((
71 -(% id="box bleu" style="border: solid blue" %)
72 -(((
73 -= Hello =
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 &ensp;</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 &ensp;</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>
74 74  
75 -(% id="paragraphe" style="display:flex; background-color:purple;color:blue;" %)
76 -(((
77 -(% style="border: solid black;" %)
78 -box 1 !
41 + <!--troisième Menu-->
42 + <li class="deroulant"><a href="#"style="color: white;float: left;width: 19%;text-align: center;position: relative;">Archives &ensp;</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>
79 79  
80 -(% style="border: solid black;" %)
81 -Box 2 !
82 -
83 -(% style="border: solid black;" %)
84 -Box 3 !
85 -
86 -(% style="border: solid black;" %)
87 -Box 4 !
88 -)))
89 -)))
90 -)))
54 +<div class="conteneur">
55 + <p>Du contenu sous le menu</p>
56 +</div>
57 +</body>
58 +</html>
59 +{{/html}}
This wiki is licensed under a Creative Commons 2.0 license
XWiki 13.10 - Documentation - Conditions