Template:Team:Groningen/Header

From 2010.igem.org

(Difference between revisions)
 
(17 intermediate revisions not shown)
Line 28: Line 28:
<link rel="stylesheet" type="text/css" href="https://2010.igem.org/Team:Groningen/files/slider.css?action=raw&amp;ctype=text/css">
<link rel="stylesheet" type="text/css" href="https://2010.igem.org/Team:Groningen/files/slider.css?action=raw&amp;ctype=text/css">
-
<script type="text/javascript" src="https://2010.igem.org/Team:Groningen/files/address.js?action=raw&amp;ctype=text/javascript"></script>
+
<script type="text/javascript" src="https://2010.igem.org/Team:Groningen/files/address.js?action=raw&amp;ctype=text/javascript&crawling=1"></script>
<script type="text/javascript" src="https://2010.igem.org/Team:Groningen/files/tweet.js?action=raw&amp;ctype=text/javascript"></script>
<script type="text/javascript" src="https://2010.igem.org/Team:Groningen/files/tweet.js?action=raw&amp;ctype=text/javascript"></script>
Line 39: Line 39:
$(document).ready(function() {
$(document).ready(function() {
-
$("#contentWrapper").css('height', $(".textWrapper[rel='home']").parent().outerHeight() + "px");
+
$("#contentWrapper").css('height', $("#otherContent").outerHeight() + "px");
$("ul#topnav li").hover(function() {  
$("ul#topnav li").hover(function() {  
-
$(this).css({ 'background' : '#1376c9 url(https://static.igem.org/mediawiki/2010/2/29/Groningen_topnav_active.gif) repeat-x'});  
+
$(this).css({ 'background' : '#1376c9 url(https://static.igem.org/mediawiki/2010/2/29/Groningen_topnav_active.gif) repeat-x'});
-
$(this).find("span").show();  
+
$(this).find("span").show();
} , function() {  
} , function() {  
$(this).css({ 'background' : 'none'}); //on hover out...
$(this).css({ 'background' : 'none'}); //on hover out...
-
$.delay(10, function() {
+
$(this).find("span").hide();
-
$(this).find("span").hide();
+
-
});
+
});
});
Line 61: Line 59:
$.get(url, function(data) {
$.get(url, function(data) {
$(".ajaxWrapper").html(data);
$(".ajaxWrapper").html(data);
-
$("#contentWrapper").css('height', $("#otherContent").height() + "px");
+
$("#contentWrapper").css('height', $("#otherContent").outerHeight() + "px");
});
});
});
});
Line 70: Line 68:
<a href="https://2010.igem.org/Main_Page"><img src="https://static.igem.org/mediawiki/2010/f/f6/LogoGroningen.png" alt="iGEM Groningen 2010" title="Back to iGEM Main Page"></a>
<a href="https://2010.igem.org/Main_Page"><img src="https://static.igem.org/mediawiki/2010/f/f6/LogoGroningen.png" alt="iGEM Groningen 2010" title="Back to iGEM Main Page"></a>
<p style="float: right; margin-right: 30px">
<p style="float: right; margin-right: 30px">
-
We believe in a better world<br>
+
Hydrophobofilm<br>
-
<span style="margin-left: 2em">through synthetic biology</span>
+
<span style="margin-left: 2em">pushing coatings into a greener future</span>
</p>
</p>
</div>
</div>
Line 108: Line 106:
                 <a href="https://2010.igem.org/Team:Groningen#/safety">Safety</a> |
                 <a href="https://2010.igem.org/Team:Groningen#/safety">Safety</a> |
                 <a href="https://2010.igem.org/Team:Groningen#/survey">Survey</a> |
                 <a href="https://2010.igem.org/Team:Groningen#/survey">Survey</a> |
-
                 <a href="https://2010.igem.org/Team:Groningen#/ethics">Ethics</a>
+
                 <a href="https://2010.igem.org/Team:Groningen#/ethics">Ethics</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/for_the_parents"> For Parents </a>
             </span>
             </span>

Latest revision as of 22:54, 27 October 2010