Team:EPF-Lausanne/Template/Footer
From 2012.igem.org
(Difference between revisions)
m |
|||
Line 4: | Line 4: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
window.onload = function(){ | window.onload = function(){ | ||
+ | console.log("Editing URLs"); | ||
var toAdd = "&preload=Team:EPF-Lausanne/Notebook/Template/NewEntry"; | var toAdd = "&preload=Team:EPF-Lausanne/Notebook/Template/NewEntry"; | ||
$("a").filter( | $("a").filter( | ||
Line 13: | Line 14: | ||
} | } | ||
).each( | ).each( | ||
- | function(i, domObj){ | + | function(i, domObj){console.log("Editing URL", i, domObj); |
$(domObj).attr("href", $(domObj).attr("href")+toAdd); | $(domObj).attr("href", $(domObj).attr("href")+toAdd); | ||
} | } |
Revision as of 23:41, 3 June 2012