diff options
author | NeodarZ <bretoncorentin44@gmail.com> | 2015-03-12 23:07:02 +0100 |
---|---|---|
committer | NeodarZ <bretoncorentin44@gmail.com> | 2015-03-12 23:07:02 +0100 |
commit | 6133ded1dad2031745e29143ab1c5df5a57b8fe2 (patch) | |
tree | c5ed94ece44da6ed79b663925cfbc07c02d67c6b /plateforme-c.html | |
parent | aa4cc7995ab07dbb4a29d4c6a5b8e7d7e8b8dd1b (diff) | |
download | Robot-Cable-6133ded1dad2031745e29143ab1c5df5a57b8fe2.tar.xz Robot-Cable-6133ded1dad2031745e29143ab1c5df5a57b8fe2.zip |
Mise à jour du disign
Diffstat (limited to 'plateforme-c.html')
-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 />
|