Team:NYMU-Taipei/TopBar

From 2014.igem.org

(Difference between revisions)
m
m
Line 89: Line 89:
           var bar_y = $('.left-bar').height();
           var bar_y = $('.left-bar').height();
           $('.left-bar').css({
           $('.left-bar').css({
-
                 top: bar_y+y-py,
+
                 top: bar_y + scroll_y - scroll_py,
           });
           });
-
           py=y;
+
           scroll_py=scroll_y;
     });
     });
});
});

Revision as of 11:52, 5 May 2014