Team:TU Delft/test
From 2010.igem.org
(Difference between revisions)
Line 219: | Line 219: | ||
if(this.hash) { | if(this.hash) { | ||
//this.href = this.hash; | //this.href = this.hash; | ||
- | this.href = '#page=' + currentPage + ampersandStr + 'anchor=' + | + | var anchor = this.hash.substring(1); |
+ | if (!anchor.substring('page=')) | ||
+ | this.href = '#page=' + currentPage + ampersandStr + 'anchor=' + anchor; | ||
} 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 20:17, 26 October 2010
![](https://static.igem.org/mediawiki/2010/d/d8/TUDelft_2010_AlkanivoreAnimated.gif)