Template:Team:Amsterdam/scripts
From 2012.igem.org
(Difference between revisions)
(9 intermediate revisions not shown) | |||
Line 44: | Line 44: | ||
}); | }); | ||
</script> | </script> | ||
+ | |||
+ | <!-- Sticky Sidebar --> | ||
+ | <script type="text/javascript"> | ||
+ | $(window).scroll(function () { | ||
+ | var winPos = $(window).scrollTop(); | ||
+ | if (winPos > 234) { | ||
+ | $("#sidebar-area").css({position:'fixed', top: 0}); | ||
+ | } else { | ||
+ | $("#sidebar-area").css({position:'relative'}); | ||
+ | } | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> | ||
+ | </script> | ||
+ | <script type="text/x-mathjax-config"> | ||
+ | MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)'],['<math>','</math>']]}}); | ||
+ | </script> | ||
+ | |||
+ | |||
+ | |||
</html> | </html> |
Latest revision as of 03:51, 27 September 2012