Team:DTU-Denmark/Templates/StartPage

From 2013.igem.org

(Difference between revisions)
Line 50: Line 50:
             if(scroll_pos_above_start_of_article){
             if(scroll_pos_above_start_of_article){
-
                   $(".navigation").offset(0);
+
                   $(".navigation").offset({top: $(".whitebox.article").offset().top });
             } else {
             } else {
                   $(".navigation").offset({top: scrollPos});
                   $(".navigation").offset({top: scrollPos});

Revision as of 18:51, 4 October 2013