Team:TU Delft/header

From 2010.igem.org

(Difference between revisions)
Line 92: Line 92:
alert('rewrite');
alert('rewrite');
$("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")
+
if(txt != "edit")
this.href = this.href.replace("http://2010.igem.org/Team:TU_Delft/", "#page=");
this.href = this.href.replace("http://2010.igem.org/Team:TU_Delft/", "#page=");
});
});

Revision as of 08:18, 23 July 2010