Team:Grenoble-EMSE-LSU/Templates/Menu
From 2013.igem.org
(Difference between revisions)
(63 intermediate revisions not shown) | |||
Line 21: | Line 21: | ||
<!-- Chargement CSS --> | <!-- Chargement CSS --> | ||
- | + | <link rel="stylesheet" href="https://2013.igem.org/Team:Grenoble-EMSE-LSU/Design/css?action=raw&ctype=text/css" type="text/css" /> | |
<link rel="stylesheet" href="https://2013.igem.org/Team:Grenoble-EMSE-LSU/Design/Menu?action=raw&ctype=text/css" type="text/css" /> | <link rel="stylesheet" href="https://2013.igem.org/Team:Grenoble-EMSE-LSU/Design/Menu?action=raw&ctype=text/css" type="text/css" /> | ||
- | + | <link rel="stylesheet" href="https://2013.igem.org/Team:Grenoble-EMSE-LSU/Design/Menu_Couleurs?action=raw&ctype=text/css" type="text/css"/> | |
- | + | <!-- | |
- | + | <link rel="stylesheet" href="design_menu_edit.css" type="text/css" /> | |
- | + | <link rel="stylesheet" href="design_menu_couleurs_edit" type="text/css" /> | |
- | + | --> | |
- | + | ||
+ | <!--[if lt IE 9]> | ||
+ | <link rel="stylesheet" href="https://2013.igem.org/Team:Grenoble-EMSE-LSU/Design/ie?action=raw&ctype=text/css" type="text/css" /> | ||
+ | <![endif]--> | ||
<!-- Logos --> | <!-- Logos --> | ||
- | <div id="haut"> | + | <!-- Bannière --> |
+ | <div class="banniere" id="haut"> | ||
+ | <!--<p align="center"><img id="gre_logo" src="https://static.igem.org/mediawiki/2013/b/b2/Grenoble_logo.png"></p>--> | ||
+ | <!--<img id="talkecoli" src="https://static.igem.org/mediawiki/2013/0/05/TalkEcoli_banniere.png">--> | ||
+ | <!--<p align="center"><img id="tlke" src="https://static.igem.org/mediawiki/2013/2/27/Grenoble_Tlke.PNG"></p>--> | ||
+ | <img id="photo" src="https://static.igem.org/mediawiki/2013/4/4a/Grenoble.jpg" width="100%"> | ||
+ | <!--<img id="cell" src="https://static.igem.org/mediawiki/2013/b/b6/Talki.png" >--> | ||
+ | <!--<img id="bandeau" src="https://static.igem.org/mediawiki/2013/3/3f/Bandeau.png">--> | ||
+ | <!--<img id="ordi" src="https://static.igem.org/mediawiki/2013/f/f6/Ordi.png">--> | ||
+ | </div> | ||
- | + | <!-- Flèche retour haut --> | |
- | + | ||
- | <!-- | + | |
- | + | ||
- | + | ||
- | + | ||
<a href="#haut" id="up"><img src="https://static.igem.org/mediawiki/2013/5/56/Fleche_haut.png" alt=""></a> | <a href="#haut" id="up"><img src="https://static.igem.org/mediawiki/2013/5/56/Fleche_haut.png" alt=""></a> | ||
- | + | ||
- | + | ||
</div> | </div> | ||
- | |||
- | |||
- | |||
- | + | <!-- Script: Images attached to the top --> | |
- | + | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script> | |
- | + | <script type="text/javascript"> | |
- | + | $(document).ready(function () { | |
+ | var top = $('#scroll_right').offset().top - parseFloat($('#scroll_right').css('marginTop').replace(/auto/, 0)); | ||
+ | $(window).scroll(function (event) { | ||
+ | var y = $(this).scrollTop(); | ||
+ | if (y >= top) { | ||
+ | $('#scroll_right').addClass('fixed'); | ||
+ | } else { | ||
+ | $('#scroll_right').removeClass('fixed'); | ||
+ | } | ||
+ | }); | ||
+ | }); | ||
- | + | </script> | |
- | + | ||
</html> | </html> |
Latest revision as of 08:55, 1 October 2013