Template:Team:Groningen/Header

From 2010.igem.org

(Difference between revisions)
Line 39: Line 39:
$(document).ready(function() {
$(document).ready(function() {
-
$("#contentWrapper").css('height', $(".textWrapper[rel='home']").parent().outerHeight() + "px");
+
$("#contentWrapper").css('height', $("#otherContent").height() + "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'});
-
$.clearQueue();
 
$(this).find("span").animate({opacity: 100}, 0,'linear', function () {$(this).css({display: "block"})});  
$(this).find("span").animate({opacity: 100}, 0,'linear', function () {$(this).css({display: "block"})});  
} , function() {  
} , function() {  

Revision as of 02:09, 27 October 2010