Template:Team:Valencia Biocampus/Templates/Header

From 2013.igem.org

(Difference between revisions)
(Created page with "<html> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,800' rel='stylesheet' type='text/css'> <style type="text/css"> html, body{ padding:0; margin:0; fon...")
 
(82 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,800' rel='stylesheet' type='text/css'>
+
<script>
-
<style type="text/css">
+
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
-
html, body{
+
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
-
padding:0;
+
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
-
margin:0;
+
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
font-family: 'Open Sans', 'Helvetica Neue', 'HelveticaNeue', sans-serif;
+
-
}
+
  ga('create', 'UA-43355032-1', 'igem.org');
-
a{
+
  ga('send', 'pageview');
-
text-decoration: none;
+
-
color: #2c5382;
+
-
}
+
-
a:hover{
+
-
text-decoration: none;
+
-
color: #d8d91e;
+
-
}
+
-
#header_wrapper{
+
-
background:url('images/header_bg.png') repeat-x;
+
-
height:144px;
+
-
padding-top:30px;
+
-
}
+
-
#header_container{
+
-
margin:0 auto;
+
-
margin-bottom: 20px;
+
-
text-align:center;
+
-
height:75px;
+
-
}
+
-
#top_menu_wrapper{
+
-
background:rgba(175, 184, 70, 0.9);
+
-
box-shadow: 0 0 10px #777;
+
-
}
+
-
#top_menu{
+
-
margin:0 auto;
+
-
list-style:none;
+
-
height:50px;
+
-
text-align:center;
+
-
}
+
-
#top_menu li{
+
-
display:inline;
+
-
margin-right:20px;
+
-
line-height:50px;
+
-
}
+
-
#top_menu li a{
+
-
color: rgb(33, 76, 111);
+
-
padding:5px 12px;
+
-
border-radius: 4px;
+
-
background: rgba(33, 76, 111, 0.0);
+
-
transition: 0.5s;
+
-
-webkit-transition: 0.5s; /* Safari */
+
-
}
+
-
#top_menu li a:hover, #top_menu li a.active{
+
-
color: #fff;
+
-
background: rgba(33, 76, 111, 0.9);
+
-
}
+
-
#top_menu li a.active{
+
-
cursor: default;
+
-
}
+
-
.container{
+
</script>
-
width:950px;
+
-
margin:0 auto;
+
-
}
+
 +
 +
<link rel="stylesheet" type="text/css" href="https://2013.igem.org/wiki/index.php?title=Template:Team:Valencia_Biocampus/Templates/css/main&action=raw&ctype=text/css" />
 +
<link rel="stylesheet" type="text/css" href="https://2013.igem.org/wiki/index.php?title=Template:Team:Valencia_Biocampus/Templates/css/bootstrap&action=raw&ctype=text/css" />
 +
<link rel="stylesheet" type="text/css" href="https://2013.igem.org/wiki/index.php?title=Template:Team:Valencia_Biocampus/Templates/css/safety&action=raw&ctype=text/css" />
 +
<link rel="stylesheet" type="text/css" href="https://2013.igem.org/wiki/index.php?title=Template:Team:Valencia_Biocampus/Templates/css/tables&action=raw&ctype=text/css" />
 +
 +
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
 +
<script type="text/javascript" src="https://2013.igem.org/wiki/index.php?title=Template:Team:Valencia_Biocampus/Templates/js/bootstrap&action=raw&ctype=text/javascript"></script>
 +
<a href="#" id="toggleWikiMenu" data-placement="bottom" data-toggle="tooltip" data-original-title="Show/hide wiki menu">
 +
<img src="https://static.igem.org/mediawiki/2013/b/bc/Togglerwikimenu.png" alt="Show/hide wiki menu" />
 +
</a>
<div id="header_wrapper">
<div id="header_wrapper">
<div id="header_container" class="container">
<div id="header_container" class="container">
-
<a href="#" id="logo"><img src="images/header_logo.png" alt="Logo" /></a>
+
<a href="https://2013.igem.org/Team:Valencia_Biocampus" id="logo" class="pull-left">
 +
                          <img src="https://static.igem.org/mediawiki/2013/b/bb/Wormboys_vlc_biocampus_logo.png" alt="WormBoys Valencia Biocampus" />
 +
                        </a>
 +
                        <a href="https://igem.org" id="igem_logo">
 +
                          <img src="https://static.igem.org/mediawiki/2013/3/32/Igem-logo.png" style="height:118px; border-radius:4px;" alt="iGEM 2013" /> </a>
</div>
</div>
<div id="top_menu_wrapper">
<div id="top_menu_wrapper">
<ul id="top_menu" class="container">
<ul id="top_menu" class="container">
-
<li><a href="#link">Home</a></li>
+
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus" id="menu_a_home" class="active">Home</a></li>
-
<li><a href="#link">Team</a></li>
+
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Team" id="menu_a_team">Team</a></li>
-
<li><a href="#link">Project</a></li>
+
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Project" id="menu_a_project">Project</a></li>
-
<li><a href="#link">Parts</a></li>
+
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Results" id="menu_a_results">Results</a></li>
-
<li><a href="#link">Modelling</a></li>
+
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Modeling" id="menu_a_modeling">Modeling</a></li>
-
<li><a href="#link" class="active">Notebook</a></li>
+
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Devices" id="menu_a_devices">Devices</a></li>
-
<li><a href="#link">Safety</a></li>
+
                                <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/HP" id="menu_a_HP">Human Practices</a></li>
-
<li><a href="#link">Attribuitions</a></li>
+
                                <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Achievements" id="menu_a_achievements">Achievements</a></li>
 +
<li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Attributions" id="menu_a_attributions">Attributions</a></li>
 +
 
</ul>
</ul>
</div>
</div>
</div>
</div>
 +
<script type="text/javascript">
 +
var showStaticMenuBar = false;
 +
$(window).scroll(function() {
 +
if(showStaticMenuBar == false){
 +
if($(this).scrollTop() >= 125){
 +
$("#top_menu_wrapper").addClass("fixedBar");
 +
$("#top_menu_wrapperFake").show();
 +
showStaticMenuBar=true;
 +
}
 +
}
 +
else{
 +
if($(this).scrollTop() <= 125){
 +
$("#top_menu_wrapper").removeClass("fixedBar");
 +
$("#top_menu_wrapperFake").hide();
 +
showStaticMenuBar=false;
 +
}
 +
}
 +
});
 +
 +
    if(typeof activeSection === "undefined" )
 +
var activeSection = "home";
 +
      $("#top_menu li a.active").removeClass("active");
 +
 +
      $("#menu_a_"+activeSection).addClass("active");
 +
 +
      $("#toggleWikiMenu").tooltip();
 +
 +
 +
      $("#toggleWikiMenu").click(function() {
 +
      $("#top-section").toggle();
 +
        return false;
 +
      });
 +
 +
</script>
 +
<script type="text/x-mathjax-config">
 +
MathJax.Hub.Config({
 +
  tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
 +
});
 +
</script>
 +
<script type="text/javascript"
 +
  src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
 +
</script>
</html>
</html>

Latest revision as of 16:24, 4 October 2013

Show/hide wiki menu