Team:NTU-Taida/Templates/Footer

From 2012.igem.org

(Difference between revisions)
(add scroll spy)
Line 9: Line 9:
});
});
   //for scroll spy
   //for scroll spy
-
   $('body').attr({
+
   $('.span9').attr({
     'data-spy': 'scroll',
     'data-spy': 'scroll',
     'data-target': ".my-sidebar",
     'data-target': ".my-sidebar",
Line 17: Line 17:
     offset: {
     offset: {
       top: function () { return $(window).width() <= 980 ? 60 : 0},
       top: function () { return $(window).width() <= 980 ? 60 : 0},
-
       bottom: 470
+
       bottom: 40
     }
     }
   });
   });

Revision as of 19:26, 27 August 2012