diff options
Diffstat (limited to '')
-rw-r--r-- | plateforme-c.html | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/plateforme-c.html b/plateforme-c.html index 2153796..3e4a05c 100644 --- a/plateforme-c.html +++ b/plateforme-c.html @@ -11,6 +11,20 @@ <title>Robot-cable by NeodarZ</title>
</head>
+<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
+ <script>
+ jQuery(document).ready(function(){
+ $(window).scroll(function () {
+ var rupture = $('header').outerHeight() ;
+ if( $(window).scrollTop() > rupture ) {
+ $('#menu').addClass('fixed');
+ } else {
+ $('#menu').removeClass('fixed');
+ }
+ });
+});
+ </script>
+
<body>
<header>
@@ -18,20 +32,28 @@ <h1>Robot-cable</h1>
<h2>Projet du lycée Eugène Livet (Nantes, France) sur la conception d'un robot-câble avec Arduino et Processing</h2>
+ <div align="center">
<section id="downloads">
<a href="https://github.com/NeodarZ/Robot-Cable/zipball/master" class="btn">Download as .zip</a>
<a href="https://github.com/NeodarZ/Robot-Cable/tarball/master" class="btn">Download as .tar.gz</a>
<a href="https://github.com/NeodarZ/Robot-Cable" class="btn btn-github"><span class="icon"></span>View on GitHub</a>
</section>
+ </div>
</div>
</header>
+ <div align="center" id="menu_fix">
+ <div id="menu">
+ <div id="menu_btn">
+ <a href="index.html" class="btn">Accueil</a>
+ <a href="sysml.html" class="btn">SySML</a>
+ <a href="plateforme-c.html" class="btn_actuel">Plateforme C</a>
+ <a href="irccyn.html" class="btn">IRCCYN</a>
+ </div>
+ </div>
+ </div>
<div class="container">
<section id="main_content">
- <a href="index.html" class="btn">Accueil</a>
- <a href="sysml.html" class="btn">SySML</a>
- <a href="plateforme-c.html" class="btn_actuel">Plateforme C</a>
- <a href="irccyn.html" class="btn">IRCCYN</a>
<br />
<br />
|