Team:TU Delft/test

From 2010.igem.org

(Difference between revisions)
Line 220: Line 220:
//this.href = this.hash;
//this.href = this.hash;
var anchor = this.hash.substring(1);
var anchor = this.hash.substring(1);
 +
alert(anchor);
if (anchor.substring('page=')!='=page')
if (anchor.substring('page=')!='=page')
this.href = '#page=' + currentPage + ampersandStr + 'anchor=' + anchor;
this.href = '#page=' + currentPage + ampersandStr + 'anchor=' + anchor;

Revision as of 20:28, 26 October 2010