Team:TU Delft/test

From 2010.igem.org

(Difference between revisions)
Line 211: Line 211:
 +
nalert = 0;
function rewriteLinks(elem) {
function rewriteLinks(elem) {
Line 221: Line 222:
var anchor = this.hash.substring(1);
var anchor = this.hash.substring(1);
-
alert(anchor.substring(0,5));
+
if (nalert++<5)
 +
alert(anchor.substring(0,5));
if (anchor.substring(0,5)!='=page')
if (anchor.substring(0,5)!='=page')

Revision as of 20:38, 26 October 2010