Template:Team:Groningen/Header
From 2010.igem.org
(Difference between revisions)
Joelkuiper (Talk | contribs) |
Joelkuiper (Talk | contribs) |
||
Line 58: | Line 58: | ||
if ($.inArray(page, pages) !== -1) { | if ($.inArray(page, pages) !== -1) { | ||
margin = (margin * ($.inArray(page, pages))) * -1; | margin = (margin * ($.inArray(page, pages))) * -1; | ||
- | + | $(".tabslider").stop().animate({ | |
- | + | marginLeft: margin + "px" | |
- | + | }, | |
- | + | duration: 300, | |
- | + | complete: function() { $("#contentWrapper").css('height', $(".textWrapper[rel='".page."']").css('height')); | |
+ | }); | ||
+ | |||
+ | |||
+ | |||
} else { | } else { |
Revision as of 16:08, 25 October 2010
We believe in a better world
through synthetic biology