Template:Team:Groningen/Header
From 2010.igem.org
(Difference between revisions)
Joelkuiper (Talk | contribs) |
Joelkuiper (Talk | contribs) |
||
Line 23: | Line 23: | ||
--> | --> | ||
+ | <link rel="stylesheet" href="https://2010.igem.org/Team:Groningen/files/slider.css?action=raw&ctype=text/css" type="text/css" media="screen" /> | ||
+ | <script src="https://2010.igem.org/Team:Groningen/files/slider.js?action=raw&ctype=text/javascript" type="text/javascript"></script> | ||
<link rel="stylesheet" type="text/css" href="https://2010.igem.org/Team:Groningen/files/overall.css?action=raw&ctype=text/css"> | <link rel="stylesheet" type="text/css" href="https://2010.igem.org/Team:Groningen/files/overall.css?action=raw&ctype=text/css"> | ||
Line 57: | Line 59: | ||
$.get(url, function(data) { | $.get(url, function(data) { | ||
$(".ajaxWrapper").html(data); | $(".ajaxWrapper").html(data); | ||
+ | margin = (margin * (pages.length)) * -1; | ||
+ | $(".tabslider").css("margin-left", margin + "px"); | ||
$("#contentWrapper").css('height', $(".textWrapper[rel='ajax']").parent().outerHeight() + "px"); | $("#contentWrapper").css('height', $(".textWrapper[rel='ajax']").parent().outerHeight() + "px"); | ||
}); | }); |
Revision as of 13:42, 26 October 2010