Team:Grenoble-EMSE-LSU/Menu

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
-
<html>
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-
<link rel="stylesheet" href="/Team:Grenoble-EMSE-LSU/Design/style?action=raw&ctype=text/css" type="text/css" />
+
<head>
 +
<title>Grenoble-EMSE-LSU, iGEM</title>
 +
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
 +
<meta name="generator" content="Geany 0.19.1" />
 +
</head>
 +
<!-- Chargement 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" />
 +
 +
</html>
 +
 +
<!-- JAVASCRIPTS -->
 +
<html>
 +
<!-- ie9.js (fixes all Internet Explorer browsers older than ie9) -->
 +
    <!--[if lt IE 9]>
 +
    <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
 +
    <![endif]-->
 +
<!-- jQuery Tools (slider) -->
 +
<script type="text/javascript" src="http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js"></script>
 +
<script type="text/javascript">
 +
$(function() {
 +
    // initialize scrollable
 +
    $(".style_diapo").scrollable().navigator();
 +
});
 +
</script>
 +
<!-- Obliger le menu a suivre la fenetre -->
 +
<script type="text/javascript">
 +
$(window).scroll(function () {
 +
var scrollPos = $(window).scrollTop();
 +
if (scrollPos > 155) {
 +
$(".navigation").addClass("stickToTop");
 +
} else {
 +
$(".navigation").removeClass("stickToTop");
 +
}
 +
if (scrollPos > 180) {
 +
$(".toc").addClass("stickBelowNavigation");
 +
} else {
 +
$(".toc").removeClass("stickBelowNavigation");
 +
}
 +
 +
});
 +
</script>
 +
<!-- Sexy Drop Down (drop down navigation) -->
<script type="text/javascript">
<script type="text/javascript">
-
$(document).ready(
+
$(document).ready(
function(){
function(){
 +
$("ul.subnav").parent().find("> a").append("<span> ↓</span>");
$("ul.topnav li").hover(
$("ul.topnav li").hover(
function() {
function() {
Line 28: Line 72:
);
);
</script>
</script>
-
 
+
<!-- Remove all empty <p> tags -->
-
<!--<script type="text/javascript">
+
-
$(document).ready(
+
-
function(){
+
-
$("ul.menu li").hover(
+
-
function() {
+
-
// Hover over
+
-
$(this).parent().find("ul.submenu").hide();
+
-
$(this).find("ul.submenu").show();
+
-
// Hover out
+
-
$(this).hover(
+
-
function() {
+
-
},
+
-
function(){
+
-
$(this).find("ul.submenu").hide();
+
-
}
+
-
);
+
-
},
+
-
function(){
+
-
$(this).find("ul.submenu").hide();
+
-
}
+
-
 
+
-
);
+
-
}
+
-
);
+
-
</script>-->
+
-
 
+
<script type="text/javascript">
<script type="text/javascript">
-
$(document).ready(
+
    $(document).ready(function() {
-
function(){
+
        $("p").filter( function() {
-
$("ul.mini li").hover(
+
            return $.trim($(this).html()) == '';
-
function() {
+
        }).remove()
-
// Hover over
+
    });
-
$(this).parent().find("ul.maxi").hide();
+
</script>
-
$(this).find("ul.maxi").show();
+
<!-- Empty heading? - Then remove it.. -->
-
// Hover out
+
<script type="text/javascript">
-
$(this).hover(
+
$(document).ready(function() {
-
function() {
+
if ("" == "</html>{{{1}}}<html>") {
-
},
+
$("#heading").remove();
-
function(){
+
-
$(this).find("ul.maxi").hide();
+
-
}
+
-
);
+
-
},
+
-
function(){
+
-
$(this).find("ul.maxi").hide();
+
-
}
+
-
 
+
-
);
+
}
}
-
);
+
});
 +
</script>
 +
<!-- MathJax (LaTeX for the web) -->
 +
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
 +
<!-- MathJax (LaTeX for the web) -->
 +
<!-- This part is only if you want to use $...$ delimiters -->
 +
<script type="text/x-mathjax-config">
 +
    MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
</script>
</script>
 +
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
 +
</html>
-
<!--<script type="text/javascript">
 
-
$(document).ready(
 
-
function(){
 
-
$("demo").hover(
 
-
function() {
 
-
// Hover over
 
-
$(this).parent().find("to_hide").hide();
 
-
$(this).find("to_hide").show();
 
-
// Hover out
 
-
$(this).hover(
 
-
function() {
 
-
},
 
-
function(){
 
-
$(this).find("to_hide").hide();
 
-
}
 
-
);
 
-
},
 
-
function(){
 
-
$(this).find("to_hide").hide();
 
-
}
 
-
);
+
<!--
-
}
+
-
);
+
-
</script>-->
+
-
<script type="text/javascript">
 
-
function swap_div(my_div, my_object)
 
-
{
 
-
if (document.getElementById(my_div).style.display == "none")
 
-
{
 
-
document.getElementById(my_div).style.display = "all";
 
-
my_object.value = "Cacher";
 
-
}
 
-
else
 
-
{
 
-
document.getElementById(my_div).style.display = "none";
 
-
my_object.value = "Afficher";
 
-
}
 
-
}
 
-
</script>
 
 +
Intégration du menu
-
<script type="text/javascript">
 
-
// Méthode pour changer la visiblité d'une balise dont l'ID est passée en paramètre
 
-
function toggleVisibility(tagId) {
 
-
if (!document.getElementById) {
 
-
msg = 'Votre navigateur est trop ancien pour profiter de votre visite\n';
 
-
msg += 'Veuillez le mettre à jour ou vous en procurer un autre';
 
-
return false;
 
-
}
 
-
var tagToToggle;
 
-
try { // On tente de récupérer la balise cible dont on doit changer la visibilité
 
-
tagToToggle = document.getElementById(tagId);
 
-
} catch (e) { // Si échec de la récupération de la balise cible
 
-
alert('Je n\'ai pas pu trouver la balise cible');
 
-
}
 
-
try { // Seulement pour les non IE
 
-
if (tagToToggle.style.display == 'none') {
 
-
tagToToggle.style.display = 'inline';
 
-
} else {
 
-
tagToToggle.style.display = 'none';
 
-
}
 
-
} catch (e) {
 
-
}
 
-
// Pour IE
 
-
if (tagToToggle.style.visibility == 'hidden') {
 
-
tagToToggle.style.visibility = 'visible';
 
-
} else {
 
-
tagToToggle.style.visibility = 'hidden';
 
-
}
 
-
}
 
-
</script>
 
 +
-->
 +
 +
<html>
<body>
<body>
<nav>
<nav>
-
<ul class="topnav"><ul>
+
<ul class="topnav">
-
<li id="home_icon">
+
<li>
-
<a href="/Team:Grenoble-EMSE-LSU"><img src="https://static.igem.org/mediawiki/2013/c/c4/Grenoble-EMSE-LSU_logo.png" alt="" />Home</a>
+
<a href="/Team:Grenoble-EMSE-LSU">Home</a>
</li>
</li>
-
<li id="project_icon">
+
<li>
-
<a href="/Team:Grenoble-EMSE-LSU/Project" ><img src="https://static.igem.org/mediawiki/2012/2/25/Project_s.png" alt="" /></a>
+
<a href="/Team:Grenoble-EMSE-LSU/Project" ><span class="scriptina">Project</span></a>
<ul class="subnav">
<ul class="subnav">
                     <li><a href="/Team:Grenoble-EMSE-LSU/Project">Idea</a></li>
                     <li><a href="/Team:Grenoble-EMSE-LSU/Project">Idea</a></li>
Line 171: Line 124:
</ul>
</ul>
</li>
</li>
-
+
-
+
-
                 <li id="bio_icon">
+
                 <li>
-
                     <a href="/Team:Grenoble-EMSE-LSU/Biology"><img src="https://static.igem.org/mediawiki/2012/a/a4/Biology_s.png" alt="" /></a>
+
                     <a href="/Team:Grenoble-EMSE-LSU/Biology">Biology</a>
                     <ul class="subnav">
                     <ul class="subnav">
                     <li><a href="/Team:Grenoble-EMSE-LSU/Biology">Network</a></li>
                     <li><a href="/Team:Grenoble-EMSE-LSU/Biology">Network</a></li>
Line 185: Line 138:
-
<li id="model_icon">
+
<li>
-
                 <a href="/Team:Grenoble-EMSE-LSU/Modeling"><img src="https://static.igem.org/mediawiki/2012/2/2f/Modeling_s.png" alt="" /></a>
+
                 <a href="/Team:Grenoble-EMSE-LSU/Modeling">Modeling</a>
                     <ul class="subnav">
                     <ul class="subnav">
                         <li><a href="/Team:Grenoble-EMSE-LSU/Modeling">Network</a></li>
                         <li><a href="/Team:Grenoble-EMSE-LSU/Modeling">Network</a></li>
-
                        <ul class="subsubnav">
+
                         <li><a href="/Team:Grenoble-EMSE-LSU/Modeling/Arduino">Arduino</a></li>                  
-
                        <li><a href="/Team:Grenoble-EMSE-LSU/Modeling/Network/Promoter">Promoter Caracterization</a></li>
+
-
                        <li><a href="/Team:Grenoble-EMSE-LSU/Modeling/Network/KillerRed">KillerRed Caracterization</a></li>
+
-
                        </ul>
+
-
                         <li><a href="/Team:Grenoble-EMSE-LSU/Modeling/Arduino">Arduino</a></li>
+
-
                        <ul class="subsubnav">
+
-
                        <li><a href="/Team:Grenoble-EMSE-LSU/Modeling/Arduino/Presentation">Presentation</a></li>
+
-
                        <li><a href="/Team:Grenoble-EMSE-LSU/Modeling/Arduino/Device">Our Device</a></li>
+
-
                        </ul>                       
+
                         <li><a href="/Team:Grenoble-EMSE-LSU/Modeling/Notebook">Notebook</a></li>
                         <li><a href="/Team:Grenoble-EMSE-LSU/Modeling/Notebook">Notebook</a></li>
                     </ul>
                     </ul>
Line 203: Line 148:
-
                 <li id="HP_icon">
+
                 <li>
-
<a href="/Team:Grenoble-EMSE-LSU/HumanPractice"><img src="https://static.igem.org/mediawiki/2012/2/2e/Human_practice_s.png" alt=""/></a>
+
<a href="/Team:Grenoble-EMSE-LSU/HumanPractice">Human Practice</a>
<ul class="subnav">
<ul class="subnav">
  <li><a href="/Team:Grenoble-EMSE-LSU/Human_Practice">Overwiew</a></li>
  <li><a href="/Team:Grenoble-EMSE-LSU/Human_Practice">Overwiew</a></li>
Line 213: Line 158:
-
<li id="team_icon">
+
<li>
-
                 <a href="/Team:Grenoble-EMSE-LSU/Team"><img src="https://static.igem.org/mediawiki/2012/c/c6/Team_s.png" alt="" /></a>
+
                 <a href="/Team:Grenoble-EMSE-LSU/Team">Team</a>
                     <ul class="subnav">
                     <ul class="subnav">
                     <li><a href="/Team:Grenoble-EMSE-LSU/Team">The Team</a></li>
                     <li><a href="/Team:Grenoble-EMSE-LSU/Team">The Team</a></li>
Line 225: Line 170:
       </nav>  
       </nav>  
</body>
</body>
-
 
</html>
</html>

Revision as of 14:01, 16 June 2013

Grenoble-EMSE-LSU, iGEM