Difference between revisions of "Team:Heidelberg/PiratesCorner"
Line 130: | Line 130: | ||
} catch(err) {;} | } catch(err) {;} | ||
}; | }; | ||
+ | |||
+ | $(function() { | ||
+ | $("body *").replaceText( /xx.....xx/gi, primer); | ||
+ | $('.tooltipster').tooltipster({ | ||
+ | contentAsHTML: true | ||
+ | }); | ||
+ | }); | ||
+ | |||
+ | <!-- Replace text ende --> | ||
+ | |||
+ | // Used to expand and collapse logbook entries | ||
+ | $(function() { | ||
+ | $('.notebooktext').hide(); | ||
+ | $('.notebookheading').on('click', function(event) { | ||
+ | $(this).siblings().filter('.notebooktext').slideToggle(); | ||
+ | event.preventDefault(); | ||
+ | }); | ||
+ | }); | ||
+ | |||
+ | MathJax.Hub.Config({ | ||
+ | tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}, | ||
+ | jax: ["input/TeX","output/SVG"] | ||
+ | }); | ||
+ | |||
</script> | </script> |
Revision as of 08:15, 18 September 2015