Template:Amplino
From 2012e.igem.org
(Difference between revisions)
(5 intermediate revisions not shown) | |||
Line 199: | Line 199: | ||
if(this.hash) { | if(this.hash) { | ||
var anchor = this.hash.substring(1); | var anchor = this.hash.substring(1); | ||
- | |||
- | |||
if (anchor.substring(0,5)!='page=') | if (anchor.substring(0,5)!='page=') | ||
this.href = '#page=' + currentPage + ampersandStr + 'anchor=' + anchor; | this.href = '#page=' + currentPage + ampersandStr + 'anchor=' + anchor; | ||
- | } else if(txt != "edit") | + | } else if(txt != "edit") { |
- | this.href = this.href.replace("https://2012e.igem.org/Team:Amplino/", "#page="); | + | this.href = this.href.replace("https://2012e.igem.org/wiki/index.php/Team:Amplino/", "#page="); |
+ | } | ||
// dbgout('rewriting ' + url + ' to ' + this.href); | // dbgout('rewriting ' + url + ' to ' + this.href); | ||
Line 405: | Line 404: | ||
<li><a href="#page=Summary">Summary</a></li> | <li><a href="#page=Summary">Summary</a></li> | ||
<li><a href="#page=Problem">Problem</a></li> | <li><a href="#page=Problem">Problem</a></li> | ||
- | <li><a href="#page=Opportunity">Opportunity</a></li> | + | <!-- <li><a href="#page=Opportunity">Opportunity</a></li> --> |
<li><a href="#page=Solution">Solution</a></li> | <li><a href="#page=Solution">Solution</a></li> | ||
<li><a href="#page=Source_Data">Source Data</a></li> | <li><a href="#page=Source_Data">Source Data</a></li> | ||
<li><a href="#page=Attributions">Attributions</a></li> | <li><a href="#page=Attributions">Attributions</a></li> | ||
+ | <li><a href="#page=Safety">Safety</a></li> | ||
</ul> | </ul> | ||
</div> | </div> |
Latest revision as of 11:14, 21 October 2012