<
Depuis la version < 3.1 >
modifié par Quentin / Zèbre STURER
sur 2021/10/25 08:59
À la version < 22.1 >
modifié par Quentin / Zèbre STURER
sur 2021/11/23 19:56
>
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,84 +1,57 @@
1 +
1 1  {{html clean="false"}}
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">
5 - <div style="height:310px; width:300px; padding-left:1em; float:right">
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>
12 - </div>
13 - </div>
3 +<!DOCTYPE html>
4 +<html>
5 +<head>
6 + <meta charset="utf-8">
7 + <link rel="stylesheet" type="text/css" href="menu deroulan.css">
8 + <title>Forbach- 1ère Jeanne D'Arc</title>
9 +</head>
14 14  
15 - <div id="Javascript">
16 - <script type="text/javascript">
17 -
18 - start_slideshow(1, 6, 3000);
19 -
20 - function start_slideshow(start_frame, end_frame, delay) {
21 - setTimeout(switch_slides(start_frame,start_frame,end_frame, delay), delay);
22 - }
23 -
24 - function switch_slides(frame, start_frame, end_frame, delay) {
25 - return (function() {
26 - Effect.Fade('slideshow' + frame);
27 - frame = Math.floor(Math.random()*(end_frame-start_frame+1))+start_frame;
28 - //if(console) console.log("Next photo: " + frame);
29 - setTimeout("Effect.Appear('slideshow" + frame + "');", 850);
30 - setTimeout(switch_slides(frame, start_frame, end_frame, delay), delay + 850);
31 - })
32 - }
11 +<body style=" margin: 0px; padding: 0px; font-family: Avenir, sans-serif;">
33 33  
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 - </script>
42 - </div>
13 + <!-- Titre-->
14 + <h1>Menu déroulant sticky HTML et CSS</h1>
43 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>
61 -{{/html}}
16 +<!-- bare de menu-->
17 + <nav style="display: inline-block;width: 100%; margin: 0 auto; background-color:#0A4E8C ;position: sticky; top: 0px;border: solid;">
18 +<!-- Menu Principal-->
19 + <ul style ="list-style-type: none; font.color: white;">
20 + <li class="deroulant"><a href="#"style=" float: left;width: 19%; text-align: center;position: relative;">Branches &ensp;</a>
21 + <!-- Menu Secondaire-->
22 + <!-- 1er Menu-->
23 + <ul class="sous" style="list-style-type: none; width: 250px;top: 40px;left: -10px;">
24 + <li ><a href="#"style="color:orange;text-align: center;">Louveteaux</a></li>
25 + <li><a href="#"style="color:blue">Scouts</a></li>
26 + <li><a href="#"style="color:red">Pionniers</a></li>
27 + <li><a href="#"style="color:darkgreen;">Compagnons</a></li>
28 + </ul>
29 + </li>
30 + <!--Second Menu-->
31 + <li class="deroulant"><a href="#"style=";float: left;width: 19%;text-align: center;position: relative;">Photos &ensp;</a>
32 + <ul class="sous" style="list-style-type: none;width: 250px;top: 40px;left: 233px;">
33 + <li ><a href="#"style="color:orange">Louveteaux</a></li>
34 + <li><a href="#"style="color:blue">Scouts</a></li>
35 + <li><a href="#"style="color:red">Pionniers</a></li>
36 + <li><a href="#"style="color:darkgreen;">Compagnons</a></li>
37 + </ul>
38 + </li>
39 + <!--troisième Menu-->
40 + <li class="deroulant"><a href="#"style="float: left;width: 19%;text-align: center;position: relative;">Archives &ensp;</a>
41 + <ul class="sous" style="list-style-type: none;width: 250px;top: 40px;left: 475px;">
42 + <li><a href="#">CSS display</a></li>
43 + <li><a href="#">CSS position</a></li>
44 + <li><a href="#">CSS float</a></li>
45 + </ul>
46 + </li>
47 + <li><a href="#"style="float: left;width: 19%;text-align: center;position: relative;">Contact</a></li>
48 + <li><a href="#"style="float: left;width: 19%;text-align: center;position: relative;">A propos</a></li>
49 + </ul>
50 + </nav>
62 62  
63 -(% style="display:flex" %)
64 -(((
65 -(% id="box bleu" style="border: solid blue" %)
66 -(((
67 -= Hello =
68 -
69 -(% id="paragraphe" style="display:flex; background-color:purple;color:blue;" %)
70 -(((
71 -(% style="border: solid black;" %)
72 -box 1 !
73 -
74 -(% style="border: solid black;" %)
75 -Box 2 !
76 -
77 -(% style="border: solid black;" %)
78 -Box 3 !
79 -
80 -(% style="border: solid black;" %)
81 -Box 4 !
82 -)))
83 -)))
84 -)))
52 + <div class="conteneur">
53 + <p>Du contenu sous le menuefhioeuffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff</p>
54 + </div>
55 +</body>
56 +</html>
57 +{{/html}}
This wiki is licensed under a Creative Commons 2.0 license
XWiki 13.10 - Documentation - Conditions