Template:Team:Amsterdam/Sidebar1

From 2012.igem.org

(Difference between revisions)
Line 6: Line 6:
var winPos = $(window).scrollTop();
var winPos = $(window).scrollTop();
if (winPos > 180) {
if (winPos > 180) {
-
$("#sidebar-area").css({position:'fixed', top:});
+
$("#sidebar-area").css({position:'fixed', top:0});
} else {
} else {
$("#sidebar-area").css({position:'relative'});
$("#sidebar-area").css({position:'relative'});

Revision as of 19:12, 25 September 2012