Team:NTU-Taida/Templates/Footer

From 2012.igem.org

(Difference between revisions)
Line 13: Line 13:
$('ul.sub-navlist').append('<li><a href="'+ $(this).attr('href') +'">'+$(this).children('span.toctext').text()+'</a></li>')
$('ul.sub-navlist').append('<li><a href="'+ $(this).attr('href') +'">'+$(this).children('span.toctext').text()+'</a></li>')
});
});
-
$('[data-spy="scroll"]').each(function () {
+
 
-
  var $spy = $(this).scrollspy('refresh')
+
-
});
+
   $('#bodyContent').attr({
   $('#bodyContent').attr({
     'data-spy': 'scroll',
     'data-spy': 'scroll',
Line 27: Line 25:
     }
     }
   });
   });
-
 
+
$('[data-spy="scroll"]').each(function () {
 +
  var $spy = $(this).scrollspy('refresh');
 +
});

Revision as of 20:24, 27 August 2012