Template:Team:Valencia Biocampus/Templates/Header
From 2013.igem.org
(Difference between revisions)
(63 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | < | + | <script> |
- | + | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
- | + | (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
- | + | m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
- | + | })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ga('create', 'UA-43355032-1', 'igem.org'); | |
+ | ga('send', 'pageview'); | ||
+ | </script> | ||
- | |||
- | + | <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=" | + | <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=" | + | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus" id="menu_a_home" class="active">Home</a></li> |
- | <li><a href=" | + | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Team" id="menu_a_team">Team</a></li> |
- | <li><a href=" | + | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Project" id="menu_a_project">Project</a></li> |
- | <li><a href=" | + | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Results" id="menu_a_results">Results</a></li> |
- | <li><a href=" | + | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Modeling" id="menu_a_modeling">Modeling</a></li> |
- | <li><a href=" | + | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Devices" id="menu_a_devices">Devices</a></li> |
- | + | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/HP" id="menu_a_HP">Human Practices</a></li> | |
- | <li><a href=" | + | <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> |