Template:Team:Valencia Biocampus/Templates/Header

From 2013.igem.org

(Difference between revisions)
Line 5: Line 5:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
 +
<div id="header_wrapper">
 +
<div id="header_container" class="container">
 +
<a href="#" id="logo"><img alt="Logo" src="https://static.igem.org/mediawiki/2013/7/74/Header_logo.png" /></a>
 +
</div>
 +
<div id="top_menu_wrapper">
 +
<ul id="top_menu" class="container">
 +
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus" id="menu_a_home" class="active">Home</a></li>
 +
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Team" id="menu_a_team">Team</a></li>
 +
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Project" id="menu_a_project">Project</a></li>
 +
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Parts" id="menu_a_parts">Parts</a></li>
 +
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Modeling" id="menu_a_modeling">Modeling</a></li>
 +
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Notebook" id="menu_a_notebook">Notebook</a></li>
 +
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Safety" id="menu_a_safety">Safety</a></li>
 +
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Attributions" id="menu_a_attributions">Attributions</a></li>
 +
 +
</ul>
 +
</div>
 +
</div>
<script type="text/javascript">
<script type="text/javascript">
var showStaticMenuBar = false;
var showStaticMenuBar = false;
Line 23: Line 41:
}
}
});
});
-
$(document).ready(function() {
+
-
if(activeSection === null )
+
 
-
var activeSection = "home";
+
 
       $("#top_menu li a.active").removeClass("active");
       $("#top_menu li a.active").removeClass("active");
       $("#menu_a_"+activeSection).addClass("active");
       $("#menu_a_"+activeSection).addClass("active");
-
});
 
</script>
</script>
-
 
-
<div id="header_wrapper">
 
-
<div id="header_container" class="container">
 
-
<a href="#" id="logo"><img alt="Logo" src="https://static.igem.org/mediawiki/2013/7/74/Header_logo.png" /></a>
 
-
</div>
 
-
<div id="top_menu_wrapper">
 
-
<ul id="top_menu" class="container">
 
-
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus" id="menu_a_home" class="active">Home</a></li>
 
-
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Team" id="menu_a_team">Team</a></li>
 
-
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Project" id="menu_a_project">Project</a></li>
 
-
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Parts" id="menu_a_parts">Parts</a></li>
 
-
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Modeling" id="menu_a_modeling">Modeling</a></li>
 
-
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Notebook" id="menu_a_notebook">Notebook</a></li>
 
-
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Safety" id="menu_a_safety">Safety</a></li>
 
-
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Attributions" id="menu_a_attributions">Attributions</a></li>
 
-
 
-
</ul>
 
-
</div>
 
-
</div>
 
</html>
</html>

Revision as of 09:47, 17 July 2013