Difference between revisions of "Template:Vilnius-Lithuania-OG/include/header"

Line 1: Line 1:
 
<html>
 
<html>
+
<script>
<!-- Header
+
============================================= -->
+
<header id="header" class="page-section full-header">
+
  
<div id="header-wrap" style="padding-left:1%">
+
if(document.getElementById("home") != null) {
 
+
    document.getElementById("homeheader").classList.add('current');
<div class="clearfix">
+
}
 
+
if(document.getElementById("project") != null) {
<div id="primary-menu-trigger"><i class="icon-reorder"></i></div>
+
    document.getElementById("projecth").classList.add('current');
 
+
}
<!-- Logo
+
if(document.getElementById("software") != null) {
============================================= -->
+
    document.getElementById("softwareh").classList.add('current');
<div id="logo">
+
}
<a href="index.php" class="standard-logo" data-dark-logo="images/logo-dark.png"><img src="https://static.igem.org/mediawiki/2018/1/18/T--Vilnius-Lithuania-OG--logo-black.png"></a>
+
if(document.getElementById("parts") != null) {
<a href="index.php" class="retina-logo" data-dark-logo="images/logo-dark@2x.png"><img src="images/logo@2x.png"></a>
+
    document.getElementById("partsh").classList.add('current');
</div><!-- #logo end -->
+
}
 +
if(document.getElementById("notebook") != null) {
 +
    document.getElementById("notebookh").classList.add('current');
 +
}
 +
if(document.getElementById("human") != null) {
 +
    document.getElementById("humanh").classList.add('current');
 +
}
 +
if(document.getElementById("people") != null) {
 +
    document.getElementById("peopleh").classList.add('current');
 +
}
  
 +
</script>
 
<!-- Primary Navigation
 
<!-- Primary Navigation
 
============================================= -->
 
============================================= -->
Line 81: Line 88:
 
<li><a href="/pages/people/index.php#section-attributions"><div><i class="icon-gift"></i>Attributions</div></a></li>
 
<li><a href="/pages/people/index.php#section-attributions"><div><i class="icon-gift"></i>Attributions</div></a></li>
 
<li><a href="/pages/people/index.php#section-sponsors"><div><i class="icon-umbrella"></i>Sponsors</div></a>
 
<li><a href="/pages/people/index.php#section-sponsors"><div><i class="icon-umbrella"></i>Sponsors</div></a>
 
 
</ul>
 
</li>
 
</ul>
 
</nav>
 
<!-- #primary-menu end -->
 
 
</div>
 
 
</div>
 
 
</header><!-- #header end -->
 
  
 
</html>
 
</html>

Revision as of 18:17, 16 October 2018