Template:Amplino

From 2012e.igem.org

(Difference between revisions)
 
(3 intermediate revisions not shown)
Line 196: Line 196:
var txt = $(this).text();
var txt = $(this).text();
var url = this.href;
var url = this.href;
-
alert(this.hash);
 
if(this.hash) {
if(this.hash) {
Line 203: Line 202:
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 404: 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