Team:EPF-Lausanne/Template/Header
From 2012.igem.org
(Difference between revisions)
Line 43: | Line 43: | ||
<link rel="stylesheet" href="/Team:EPF-Lausanne/Template/style.css?action=raw&ctype=text/css" type="text/css"> | <link rel="stylesheet" href="/Team:EPF-Lausanne/Template/style.css?action=raw&ctype=text/css" type="text/css"> | ||
+ | <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | ||
+ | <script type="text/javascript"> | ||
+ | var toAdd = "&preload=Team:EPF-Lausanne/Notebook/Template/NewEntry"; | ||
+ | $(document).ready(function() { | ||
+ | $("a").filter( function() { | ||
+ | var str = $.trim($(this).href); var sub = str.substr(str.length-5); return sub == '=edit'; | ||
+ | }) | ||
+ | }); | ||
+ | </script> | ||
</html> | </html> |
Revision as of 23:21, 3 June 2012