Team:EPF-Lausanne/Template/Footer
From 2012.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
+ | <html> | ||
+ | |||
+ | |||
+ | <script type="text/javascript"> | ||
+ | var toAdd = "&preload=Team:EPF-Lausanne/Notebook/Template/NewEntry"; | ||
+ | $(document).ready(function() { | ||
+ | $("a").filter( | ||
+ | function(){ | ||
+ | var str = $(this).attr("href"); | ||
+ | if(!str) | ||
+ | return false; | ||
+ | return str.match(/http:\/\/2012\.igem\.org\/wiki\/index\.php\?title=Team:EPF-Lausanne\/Notebook\/[A-Za-z\-\_0-9]*&action=edit/i) != null | ||
+ | } | ||
+ | ).each( | ||
+ | function(i, domObj){ | ||
+ | $(domObj).attr("href", $(domObj).attr("href")+toAdd); | ||
+ | } | ||
+ | ); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
<div class='footer'>Made by the EPFL iGEM team 2012!</div> | <div class='footer'>Made by the EPFL iGEM team 2012!</div> | ||
+ | |||
+ | </html> |
Revision as of 23:36, 3 June 2012