Template:Team:Groningen/Header
From 2010.igem.org
(Difference between revisions)
Joelkuiper (Talk | contribs) |
Joelkuiper (Talk | contribs) |
||
Line 47: | Line 47: | ||
}); | }); | ||
- | |||
- | |||
- | |||
$.address.change(function (event) { | $.address.change(function (event) { | ||
Line 63: | Line 60: | ||
}, | }, | ||
{duration: 300, | {duration: 300, | ||
- | complete: | + | complete: function() { $("#contentWrapper").css('height', $(".textWrapper[rel='"+page+"']").css('height')); } |
- | }}); } else { | + | }); } else { |
$(".ajaxWrapper").html(""); | $(".ajaxWrapper").html(""); | ||
var url = wgServer + "/Team:Groningen/" + ucfirst(page) + "?action=render"; | var url = wgServer + "/Team:Groningen/" + ucfirst(page) + "?action=render"; | ||
Line 71: | Line 68: | ||
margin = (margin * (pages.length)) * -1; | margin = (margin * (pages.length)) * -1; | ||
$(".tabslider").css("margin-left", margin + "px"); | $(".tabslider").css("margin-left", margin + "px"); | ||
- | + | $("#contentWrapper").css('height', $(".textWrapper[rel='ajax']").css('height')); | |
}); | }); | ||
} | } |
Revision as of 16:34, 25 October 2010
We believe in a better world
through synthetic biology