tadd pushpin to position toc - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
(HTM) git clone git://src.adamsgaard.dk/cosmo
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 31c84cf3beda6f5f7aa32b8f7a0dd9d8df50c643
(DIR) parent 59d2ef0537a7cc2aac0f3782ad897eb54a5bdb87
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Fri, 20 Nov 2015 14:09:25 +0100
add pushpin to position toc
Diffstat:
M pages/methods.html | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/pages/methods.html b/pages/methods.html
t@@ -111,5 +111,9 @@
$(document).ready(function(){
$('.scrollspy').scrollSpy();
});
+
+ $(document).ready(function(){
+ $('.toc-wrapper .row').pushpin({ top: $('.toc-wrapper').offset().top });
+ });
</script>