Team:TU Delft/header2

From 2010.igem.org

(Difference between revisions)
Line 105: Line 105:
$("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.hash)
this.href = '#fakeanchor';// '#anchor=' + this.href.substring(1);
this.href = '#fakeanchor';// '#anchor=' + this.href.substring(1);
else if(txt != "edit")
else if(txt != "edit")

Revision as of 12:50, 22 July 2010