Team:TU Delft/header

From 2010.igem.org

(Difference between revisions)
Line 91: Line 91:
function rewriteLinks(elem) {
function rewriteLinks(elem) {
$("a",elem).each(function() {
$("a",elem).each(function() {
-
var txt = $(this).text();
+
//var txt = $(this).text();
-
if(this.hash)
+
//if(this.hash)
-
this.href = this.hash;
+
//this.href = this.hash;
-
else if(txt != "edit")
+
//else if(txt != "edit")
this.href = this.href.replace("https://2010.igem.org/Team:TU_Delft/", "#page=");
this.href = this.href.replace("https://2010.igem.org/Team:TU_Delft/", "#page=");
});
});

Revision as of 08:16, 23 July 2010