Team:TU Delft/header2
From 2010.igem.org
(Difference between revisions)
Line 103: | Line 103: | ||
function rewriteLinks(elem) { | function rewriteLinks(elem) { | ||
- | |||
$("a",elem).each(function() { | $("a",elem).each(function() { | ||
var txt = $(this).text(); | var txt = $(this).text(); | ||
+ | alert(this.href + ';;;' + this.hash); | ||
if(this.href.split('#').length == 2) | if(this.href.split('#').length == 2) | ||
- | this.href = '#anchor=' + this.href.substring(1); | + | this.href = '#fakeanchor';// '#anchor=' + this.href.substring(1); |
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 12:47, 22 July 2010