Team:Wageningen UR/templates/header
From 2014.igem.org
(Difference between revisions)
Line 26: | Line 26: | ||
<script type="text/javascript" src="https://2014.igem.org/Team:Wageningen_UR/js/timeliner.min.js?action=raw&ctype=text/javascript"></script> | <script type="text/javascript" src="https://2014.igem.org/Team:Wageningen_UR/js/timeliner.min.js?action=raw&ctype=text/javascript"></script> | ||
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | ||
+ | |||
+ | <script> | ||
+ | $(function() { | ||
+ | $("a[href^='http']:not([href*='2014.igem.org'])").each(function() { | ||
+ | $(this).click(function(event) { | ||
+ | event.preventDefault(); | ||
+ | event.stopPropagation(); | ||
+ | window.open(this.href, '_blank'); | ||
+ | }).addClass('externalLink'); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
</head> | </head> |
Revision as of 14:28, 16 October 2014