Team:TU-Eindhoven/Templates/header

From 2012.igem.org

(Difference between revisions)
 
(26 intermediate revisions not shown)
Line 1: Line 1:
-
__NOTOC__<html lang="en">  
+
__NOTOC__<html>
 +
</p>
 +
 
 +
<!-- start our own full-view content wrapper -->
 +
 
<head>  
<head>  
 +
<style>
 +
body {
 +
    background-image:url('https://static.igem.org/mediawiki/2010/a/a9/Cam-Theoback.png');
 +
    background-position:top center;
 +
    background-repeat:repeat-y
 +
    }
 +
</style>
 +
 +
<link rel="stylesheet" type="text/css" href="https://2012.igem.org/Team:TU-Eindhoven/css?action=raw&ctype=text/css" />
 +
<script type="text/javascript">
<script type="text/javascript">
Line 14: Line 28:
</script>
</script>
-
<style>
 
-
h2{color:#96d446; }
 
-
h1, h2, h3, h4, h5{font-family:"Vollkorn", serif; font-size:200%; line-height:35px; border-bottom:0; margin-bottom:5px; border-top:1px dotted #e3e3e3; margin-top:10px; padding-top:30px; font-weight:normal;}
 
-
h2.noline{ border-top:0; margin-top:0; padding-top:0; margin-bottom:0; line-height:20px; padding-top:2px; font-size:20px;}
 
-
h2.topheader{border-top:0; padding-top:0; margin-top:5px;}
 
-
 
-
</style>
 
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>  
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>  
Line 30: Line 37:
<script type="text/javascript">  
<script type="text/javascript">  
-
$('.left-menu ul')[0].innerHTML="<li><a href=\"https://2010.igem.org\" style=\"font-weight:bold; text-transform:none\">iGEM HQ</a></li>"+$('.left-menu ul')[0].innerHTML;
+
$('.left-menu ul')[0].innerHTML="<li><a href=\"https://2012.igem.org\" style=\"font-weight:bold; text-transform:none\">iGEM HQ</a></li>"+$('.left-menu ul')[0].innerHTML;
$(function() {
$(function() {
$('ul.llmenu').lavaLamp({ speed: 300, autoReturn: true , target:'li'});
$('ul.llmenu').lavaLamp({ speed: 300, autoReturn: true , target:'li'});
Line 43: Line 50:
});
});
</script>
</script>
-
<script type="text/javascript" src="/Team:TU-Eindhoven/lightbox/js?action=raw"></script>
+
<script type="text/javascript" src="/Team:TU-Eindhoven/lightbox/js?action=raw&ctype=text/javascript"></script>
<link href='http://fonts.googleapis.com/css?family=Vollkorn:regular,bold&subset=latin' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Vollkorn:regular,bold&subset=latin' rel='stylesheet' type='text/css'>
Line 159: Line 166:
     });
     });
$('a.image').lightBox();
$('a.image').lightBox();
-
});
 
-
</script>
 
 +
var top = $('#accmenu').offset().top - parseFloat($('#accmenu').css('margin-top').replace(/auto/, 0));
 +
$(window).scroll(function () {
 +
  // what the y position of the scroll is
 +
  var y = $(window).scrollTop();
 +
  // whether that's below the form
 +
  if(y >= top) {
 +
    // if so, add the fixed class
 +
    $('#accmenu').addClass('fixed');
 +
  } else {
 +
    // otherwise, remove it
 +
    $('#accmenu').removeClass('fixed');
 +
  }
 +
});
 +
});
 +
</script>
-
<link rel="stylesheet" type="text/css" href="https://2012.igem.org/Team:TU-Eindhoven/css?action=raw&ctype=text/css" />
 
</head>  
</head>  
Line 174: Line 193:
<body>
<body>
-
<style>
+
<!-- start wrapper for header, left and right column -->
-
body{background-image:url('https://static.igem.org/mediawiki/2010/a/a9/Cam-Theoback.png');
+
<div id="wrap">
-
background-position:top center;
+
-
background-repeat:repeat-y
+
-
}
+
-
</style>
+
<!-- start header -->
-
 
+
<div id="header" class="clickableDiv">
-
<div id="wrap">
+
    <a href="https://2012.igem.org/Team:TU-Eindhoven">&nbsp;</a>
-
<div id="header"><img align="center" style="margin-bottom:0px; padding:0;" src="https://static.igem.org/mediawiki/2012/b/b1/EindhovenHeader.png" usemap="#headermap" alt="iGEM TU/e 2012"> </div>  
+
</div>
-
<map name="headermap">
+
<script type="text/javascript">
-
              <area shape="rect" coords="10,30,250,240" href="https://2012.igem.org/Team:TU-Eindhoven" />
+
$(".clickableDiv").click(function(){
-
        </map>
+
    window.location=$(this).find("a").attr("href");
 +
    return false;
 +
});
 +
</script>
 +
<!-- end header -->
 +
<!-- start left column -->
<div id="left">  
<div id="left">  
-
+
</html>
-
<ul id="accmenu">
+
{{:Team:TU-Eindhoven/menu}}
-
<li><a class="head" href="#"> Introduction</a>
+
<html>
-
<ul class="llmenu llmenublue">
+
</div>
-
<li><a href="/Team:TU-Eindhoven">Home</a></li>
+
<!-- end left column -->
-
 
+
-
 
+
-
<li><a href="/Team:TU-Eindhoven/TheTeam">Meet the Team</a></li>
+
-
 
+
-
<li><a href="/Team:TU-Eindhoven/Photos">Photo Gallery</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/Videos">Videos</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/BioBricks">Parts submitted</a></li>
+
-
 
+
-
 
+
-
</ul>
+
-
</li>
+
-
<li><a class="head" href="#">Project LEC</a>
+
-
<ul class="llmenu llmenugreen">
+
-
<li><a href="/Team:TU-Eindhoven/LEC">Introduction</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/LEC/Background">Background</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/LEC/GECO">Colorful Calcium sensors</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/LEC/GECO/kinetics">GECO kinetics</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/LEC/Device">Device</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/LEC/Modelling">Modelling</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/LEC/Characterisation">Characterisation</a></li>
+
-
</ul>
+
-
</li>
+
-
 
+
-
<li><a class="head" href="#">Tools</a>
+
-
<ul class="llmenu llmenured">
+
-
<li><a href="/Team:TU-Eindhoven/Tools/Labview">Labview</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/Tools/Comsol">Comsol</a></li>
+
-
</ul>
+
-
</li>
+
-
 
+
-
<li><a class="head" href="#">Considerations</a>
+
-
<ul class="llmenu llmenublue">
+
-
<li><a href="/Team:TU-Eindhoven/Human_Practices">Human Practices</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/Safety">Safety</a></li>
+
-
</ul>
+
-
</li>
+
-
 
+
-
<li><a class="head" href="#">Future applications</a>
+
-
<ul class="llmenu llmenured">
+
-
<li><a href="/Team:TU-Eindhoven/Future_applications/TV">TV</a></li>
+
-
</ul>
+
-
</li>
+
-
 
+
-
 
+
-
<li><a class="head" href="/Team:TU-Eindhoven/Notebook/Week1">Notebook</a>
+
-
<ul class="llmenu llmenuyellow">
+
-
<li><a href="/Team:TU-Eindhoven/Notebook/Summary">Summary</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/Notebook/Week1">Week 1</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/Notebook/Week2">Week 2</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/Notebook/Week3">Week 3</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/Notebook/Week4">Week 4</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/Notebook/Week5">Week 5</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/Notebook/Week6">Week 6</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/Notebook/Week7">Week 7</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/Notebook/Week8">Week 8</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/Notebook/Week9">Week 9</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/Notebook/Week10">Week 10</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/Notebook/Week11">Week 11</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/Notebook/Week12">Week 12</a></li>
+
-
<li><a href="/Team:TU-Eindhoven/Notebook/FurtherWork">Beyond Week 12</a></li>
+
-
 
+
-
<li><a href="/Team:TU-Eindhoven/Protocols">Protocols</a> </li>
+
-
</ul>
+
-
</li>
+
-
 
+
-
<li><a href="/Team:TU-Eindhoven/Partners" class="head">Our Partners</a>
+
-
<ul class="llmenu llmenublue">
+
-
<li><a href="/Team:TU-Eindhoven/Partners">Sponsors</a> </li>
+
-
<li><a href="/Team:TU-Eindhoven/iGEM_Teams">iGEM Teams</a> </li>
+
-
<li><a href="/Team:TU-Eindhoven/Departments">University</a> </li>
+
-
<li><a href="/Team:TU-Eindhoven/Publicity">Publicity</a> </li>
+
-
 
+
-
</ul> </li>
+
-
 
+
-
</ul>
+
-
</div>  
+
<!-- begin right column -->
<div id="right">
<div id="right">
 +
</html>

Latest revision as of 10:42, 25 September 2012